my ($old_filename, undef, $ext) = fileparse($file,qr{\..*});
I presume that would be line 23? Note that this would have been caught by strict and the resulting errors would have made the omission quite obvious.
In reply to Re: rename file extension
by kennethk
in thread rename file extension
by muizelaar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |