Keep It Simple, Stupid | |
PerlMonks |
Re: Sequentially numbering output files rather than overwriting an existing fileby educated_foo (Vicar) |
on Jan 08, 2014 at 17:05 UTC ( [id://1069835]=note: print w/replies, xml ) | Need Help?? |
For the first unused "$name$n.txt" file:
For one greater than the highest "$name$n.txt" file, something like kcott's solution below works.
In Section
Seekers of Perl Wisdom
|
|