Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 surveying the Monastery: (5)
As of 2014-07-13 13:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (249 votes), past polls