Help for this page

Select Code to Download


  1. or download this
     (split(/\./,$_,3))[1] =~ /^(\d+)([A-Za-z]+)(\d+)$/; 
     [$_, $3, $months{$2}, sprintf("%02d", $1) ]
    
  2. or download this
     (split(/\./,$_,3))[1] =~ /^(\d+)([A-Za-z]+)(\d+)$/ or die "improperly
    + formed data: $_";
     [$_, $3, $months{$2}, sprintf("%02d", $1) ]