in reply to Is there an easier way?
$date =~ m|(\d{1,2})/(\d{1,2})/(\d{4})|; ($month,$day,$year) = ($1,$2,$3); [download]
At a bare minimum, add "or die" to the first line. Then I'll be happy.
-- Randal L. Schwartz, Perl hacker