Drop the second "my $date;", and remove the "my" keyword on the substitution line in the foreach loop.
In reply to Re: A quick date swap from a string
by mattford63
in thread A quick date swap from a string
by Quicksilver
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |