I was wondering if there is an easy way to convert between date formats in PERL.
Specifically I need to rewrite "22-January-2002" as "2002-01-22" prior to inserting
into a date field in MySQL.
In PHP (which is what I usually code in) I would just do something like
$date = date("Y-m-d",strtotime("22-January-2002"));
If anyone could give me a PERL equivalent of this line of code I would greatly
appreciate it.
Thanks
Sheridan Saint-Michel
