...is much better. Or else follow JavaFan's suggestion and just write it with one space to begin with!>perl -wMstrict -le "my ($chosen_day) = (map { (my $s = $_) =~ s/\s{2}/ /; $s } ('April 1, 2009'))[-1]; print $chosen_day; " April 1, 2009
In reply to Re: How would you rewrite this?
by AnomalousMonk
in thread How would you rewrite this?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |