You might also want to consider using one of the many CPAN Date modules.use strict; use warnings; my $date = '03/16/2010'; my $new_date = join '-', reverse split m{/}, $date; return $new_date;
In reply to Re: How do I split by '/'
by toolic
in thread How do I split by '/'
by rakheek
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |