my $newname = "reference_".$filename ; if(not rename $filename, $newname ){ warn "Error renaming $filename to $newname : $!"; }
In reply to Re: How to prefix a string to all the files in a directories as well subdirectories
by Anonymous Monk
in thread How to prefix a string to all the files in a directories as well subdirectories
by perladdict
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |