If you make it into a list assignment, then you can get rid of the [0] ...
my($chosen_day) = map{ s/\s\s/ /;$_ } ("April 1, 2009");
In reply to Re: How would you rewrite this?
by grantm
in thread How would you rewrite this?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |