in reply to Re: File::Copy move $! is "no such file" even on success
in thread File::Copy move $! is "no such file" even on success

You are explicitly setting $! before you call File::Copy::move(), so you only blow away the previous error.

Also, 'blanking out' $! is kind of like removing the batteries from your smoke alarm - you are only going to regret it in the end.

Happy coding,

jeffa

  • Comment on 2Re: File::Copy move $! is "no such file" even on success