Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Move using File::Find

by Anonymous Monk
on Apr 30, 2009 at 22:07 UTC ( [id://761173]=note: print w/replies, xml ) Need Help??


in reply to Move using File::Find

Its good that you've added error checking, but you need to do better. Something like
my (@useful) = ( "$File::Find::name, -d", "$dir.$_" ); move(@useful) or die "ERROR: move(", map( {qq"($_)"} @useful ), ") failed: $!";

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (1)
As of 2024-04-18 23:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found