in reply to Coolest way to decode YYYYMMDD?

For the record, I believe the "official" way to do it is:
use DateTime::Format::Strptime; my $string = "19830501"; my $format = DateTime::Format::Strptime->new( pattern => '%Y%m%d' ); my $date = $format->parse_datetime( $string );