Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: incrementing the fileby kcott (Archbishop) |
on Feb 21, 2012 at 20:25 UTC ( [id://955381]=note: print w/replies, xml ) | Need Help?? |
There's a large number of file test unary operators which will check files for existence, size, writability and so on. It's unclear whether you're renaming an existing file or generating a new, unique filename. If the former, File::Copy may be your best bet (there is a rename function but it has documented limitations). -- Ken
In Section
Seekers of Perl Wisdom
|
|