X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FTime%2Flocaltime.pm;h=c3d9fb36085c8e5cc28076def71cb6ead3e54ac9;hb=eb6393247e5113feb0b19b71cbdee87eebedbbb7;hp=94377525973c23aaa33e55d139a132abbfc849cc;hpb=03136e130d992186c97de0acd23f4857b1a277da;p=p5sagit%2Fp5-mst-13.2.git diff --git a/lib/Time/localtime.pm b/lib/Time/localtime.pm index 9437752..c3d9fb3 100644 --- a/lib/Time/localtime.pm +++ b/lib/Time/localtime.pm @@ -1,10 +1,12 @@ package Time::localtime; use strict; +use 5.006_001; + use Time::tm; -BEGIN { +our(@ISA, @EXPORT, @EXPORT_OK, %EXPORT_TAGS, $VERSION); +BEGIN { use Exporter (); - use vars qw(@ISA @EXPORT @EXPORT_OK %EXPORT_TAGS $VERSION); @ISA = qw(Exporter Time::tm); @EXPORT = qw(localtime ctime); @EXPORT_OK = qw( @@ -13,7 +15,7 @@ BEGIN { $tm_isdst ); %EXPORT_TAGS = ( FIELDS => [ @EXPORT_OK, @EXPORT ] ); - $VERSION = 1.01; + $VERSION = 1.02; } use vars @EXPORT_OK; @@ -65,7 +67,7 @@ variables named with a preceding C in front their method names. Thus, C<$tm_obj-Emday()> corresponds to $tm_mday if you import the fields. -The ctime() funtion provides a way of getting at the +The ctime() function provides a way of getting at the scalar sense of the original CORE::localtime() function. To access this functionality without the core overrides,