Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: File::Copy versus cp/mv

by ed (Initiate)
on Jan 02, 2008 at 14:09 UTC ( #659982=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $cmd = "cp $foo $bar";
    my $r = system($cmd);
    ...
            die "'$cmd' exited with value %d\n", $? >> 8;
        }
    }
    
  2. or download this
        copy($foo, $bar) or die "cannot copy $foo to $bar: $!";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://659982]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (16)
As of 2018-07-23 13:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (468 votes). Check out past polls.

    Notices?