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

Is there anyway to report that the renaming was successful?

Replies are listed 'Best First'.
Re^4: Rename File Name in Array
by almut (Canon) on Jul 20, 2008 at 19:51 UTC
    rename ($x->[0], "USB" . $ext) and print "rename was successful.\n";

    (rename returns true for success, false otherwise.)