[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

[PATCH lib/lib.pm 5.005_63] Removing use of vars.pm



More benefits of my long commute here.  I decided that lib.pm sucking
in vars.pm to declare one variable is kinda silly.  Minor, but hey,
why not?

Also I added a $VERSION number (1.00 is as good as any) and stuck in
the =pod tag for completeness.


--- lib/lib.pm      2000/01/21 19:49:23
+++ lib/lib.pm      2000/01/21 19:50:02
@@ -1,11 +1,12 @@
 package lib;

-use vars qw(@ORIG_INC);
+$VERSION = 1.00;
+
 use Config;

 my $archname = $Config{'archname'};

-@ORIG_INC = @INC;      # take a handy copy of 'original' value
+@lib::ORIG_INC = @INC; # take a handy copy of 'original' value


 sub import {
@@ -52,6 +53,8 @@

 1;
 __END__
+
+=pod

 =head1 NAME


-- 

Michael G Schwern                                           schwern@pobox.com
                    http://www.pobox.com/~schwern
     /(?:(?:(1)[.-]?)?\(?(\d{3})\)?[.-]?)?(\d{3})[.-]?(\d{4})(x\d+)?/i


[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]