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

rename ($x->[0], "USB" . $ext) and print "rename was successful.\n";

(rename returns true for success, false otherwise.)