$string = "December 12, 1995"; ($month,$day,$year) = split(/\W+/,$string); print "$month\n$day\n$year";