in reply to How to prefix a string to all the files in a directories as well subdirectories
foreach $file (@files) { rename $file,"reference_$file" } [download]