in reply to Re: Rename File Name in Array
in thread Rename File Name in Array

Thanks, I knew it was something cheesy.

Replies are listed 'Best First'.
Re^3: Rename File Name in Array
by drodinthe559 (Monk) on Jul 20, 2008 at 19:39 UTC
    Is there anyway to report that the renaming was successful?
      rename ($x->[0], "USB" . $ext) and print "rename was successful.\n";

      (rename returns true for success, false otherwise.)