in reply to Creating Filenames using variables
Update : /e added to end of regex to fix error. (Thanks to EvanK)$mon =~ s/(.+)(\..+)/$1_`date \+\%m\%d\%Y`\.$2/e;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Creating Filenames using variables
by EvanK (Chaplain) on Feb 09, 2001 at 00:18 UTC |