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

Re^2: change files names bug

by Yuma248 (Initiate)
on Nov 01, 2013 at 02:02 UTC ( #1060682=note: print w/replies, xml ) Need Help??


in reply to Re: change files names bug
in thread change files names bug

The file exist and the scrip actually changes the name correctly, but I dont understand why, the scrip try to change the name again and of course, because it just changed the name of the file, the file does not exit any more. However the validation that you propose

 if ( -e $file )

allows the script finish the job, thank you

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1060682]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2017-03-24 23:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (310 votes). Check out past polls.