Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: attempt to copy files and directories to new location

by CSJewell (Beadle)
on Apr 15, 2009 at 18:29 UTC ( [id://757763]=note: print w/replies, xml ) Need Help??


in reply to attempt to copy files and directories to new location

You may wish to start with correcting the first call to lista_files. It's currently lista_dirs($dir,$dir); and I assume it's supposed to be lista_dirs($dir,$dir2);

Then add use strict; and use warnings; before the use File::Copy;

Then we'll see what else needs to be corrected.

Replies are listed 'Best First'.
Re^2: attempt to copy files and directories to new location
by ikegami (Patriarch) on Apr 15, 2009 at 18:33 UTC

    I assume it's supposed to be lista_dirs($dir,$dir2);

    Probably, but then again, the second parameter is never used.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (2)
As of 2024-04-20 05:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found