my %cache; sub _iso8601_rx { my($self,$rx) = @_; my $dmt = $$self{'tz'}; my $dmb = $$dmt{'base'}; return $cache{ $rx } if exists $cache{ $rx }; } $cache{cdate} = '(?\d\d\d\d)-(?\d\d)-(?\d\d)'; $cache{ctime} = '(?\d\d):(?\d\d):(?\d\d)'; $cache{fulldate} = "$cache{cdate}\\s+$cache{ctime}"; 1;