Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: copying files through modules

by Thilosophy (Curate)
on May 18, 2005 at 06:45 UTC ( #458089=note: print w/ replies, xml ) Need Help??


in reply to copying files through modules

I do not really understand most of your question, can you explain what you mean by "accept a module"?

If all you are trying to do is copy a file from one disk location to another, you could use the File::Copy module which is included in the Perl base distribution:

use File::Copy; copy("file1","file2") or die "Copy failed: $!";


Comment on Re: copying files through modules
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (15)
As of 2015-07-28 21:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (259 votes), past polls