in reply to RegEx problem

The dots should be before the curly braces, not inside them, because the curly braces modify the number of times a dot must match. So the regex might instead be:
($year, $month, $day) = $date =~ m/(.{4})(.{2})(.*)$/;

-- Mike

--
just,my${.02}