my $date= shift; ... my $date;The second one creates a new lexical with an undefined value. So the subsequent substitution and return are working with undef;
In reply to Re: A quick date swap from a string
by ggoebel
in thread A quick date swap from a string
by Quicksilver
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |