in reply to Re: unique filename
in thread unique filename
Hi wfsp!
Can you please give an example how to get rid of the $i here? I always wanted that but never found a way to get filenames incremented without a temporary variable.
perl -e '$fname= "testname_1";print "$fname\n",++$fname,"\n"'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: unique filename
by gellyfish (Monsignor) on Jul 21, 2006 at 08:27 UTC | |
|
Re^3: unique filename
by wfsp (Abbot) on Jul 21, 2006 at 09:14 UTC |