Date conversion

Trying to convert dates using a Perl Script but it has to accept formats like

3 letter month, day and year like Nov 02 2010 or 1/4/11 or 21 Feb 2011 and have it convert to something like October 20, 2011. Any ideas?

Use Date::Manip (an external module, you'll need to install it):

% perl -MDate::Manip::Date -le'
  $date = new Date::Manip::Date;
  for (@ARGV) {
    $err = $date->parse($_);
    print $date->printf("%b %e, %Y");
}'  '1st Thursday in June 1992' 'Nov 02 2010' '1/4/11' '21 Feb 2011'
Jun  4, 1992
Nov 02, 2010
Jan  4, 2011
Feb 21, 2011

Thanks!