Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: File::Copy or system

by pvaldes (Chaplain)
on Sep 28, 2011 at 22:23 UTC ( #928439=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use File::Basename; 
    use File::Copy; 
    use Carp;
    ...
    open my $a, 'myfile.txt';
    my ($f,$b,$c) = $fileparse("/home/me/my_dir/my_other_file.txt");
    copy($a,$b) or croak; # Oops!
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://928439]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2014-09-23 23:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (241 votes), past polls