SPVM::File::Copy - Copying and Moving Files
SPVM::File::Copy is the File::Copy class in SPVM language.
SPVM::File::Copy
File::Copy
File::Copy providdes the features to copy and move files.
use File::Copy; my $from = "a.txt"; my $to = "b.txt"; File::Copy->copy($from, $to); File::Copy->move($from, $to);
static method copy : int ($from : string, $to : string, $size : int = 0);
Copies the file specified $from to $to. The $size is the buffer size to be used file copy. If the $size is 0, the size is decided automatically.
0
static method move : int ($from : string, $to : string);
Moves the file specified $from to $to.
SPVM::File::Copy is Perl's File::Copy porting to SPVM.
SPVM::File::Copy - Github
Yuki Kimoto kimoto.yuki@gmail.com
kimoto.yuki@gmail.com
Copyright (c) 2023 Yuki Kimoto
MIT License
To install SPVM::File::Copy, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SPVM::File::Copy
CPAN shell
perl -MCPAN -e shell install SPVM::File::Copy
For more information on module installation, please visit the detailed CPAN module installation guide.