There's also the handy rename() function, but is known to have various platform issues. See the File::Copy docs for more info.use File::Copy qw(move); my $extension = "12345"; move("file", "file.$extension");
_________
broquaint
In reply to Re: Insert extension to filename
by broquaint
in thread Insert extension to filename
by rchou2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |