diff options
author | Ronald J. Kimball <rjk@linguist.dartmouth.edu> | 2001-09-21 08:34:40 -0400 |
---|---|---|
committer | Abhijit Menon-Sen <ams@wiw.org> | 2001-09-21 17:08:24 +0000 |
commit | 3b825e419da1c361eab06a1e6d287276c0aef241 (patch) | |
tree | 3bf9831a1ca2b68cc3821988b1fd9d8cdcc2f6e0 /lib | |
parent | d5115885304a47d8240951ede80584b00fa589b6 (diff) | |
download | perl-3b825e419da1c361eab06a1e6d287276c0aef241.tar.gz |
avoid v-strings with require/use
Message-Id: <20010921123440.A148500@linguist.thayer.dartmouth.edu>
p4raw-id: //depot/perl@12113
Diffstat (limited to 'lib')
38 files changed, 41 insertions, 38 deletions
diff --git a/lib/AnyDBM_File.pm b/lib/AnyDBM_File.pm index 476df473a5..d73abab0f9 100644 --- a/lib/AnyDBM_File.pm +++ b/lib/AnyDBM_File.pm @@ -1,6 +1,6 @@ package AnyDBM_File; -use 5.6.1; +use 5.006_001; our $VERSION = '1.00'; our @ISA = qw(NDBM_File DB_File GDBM_File SDBM_File ODBM_File) unless @ISA; diff --git a/lib/AutoLoader.pm b/lib/AutoLoader.pm index 4e1eb1b064..b42d5ff4b6 100644 --- a/lib/AutoLoader.pm +++ b/lib/AutoLoader.pm @@ -1,6 +1,6 @@ package AutoLoader; -use 5.6.0; +use 5.006_001; our(@EXPORT, @EXPORT_OK, $VERSION); my $is_dosish; diff --git a/lib/AutoSplit.pm b/lib/AutoSplit.pm index 281d5c6ce2..ae119d3d1b 100644 --- a/lib/AutoSplit.pm +++ b/lib/AutoSplit.pm @@ -1,6 +1,6 @@ package AutoSplit; -use 5.6.1; +use 5.006_001; use Exporter (); use Config qw(%Config); use Carp qw(carp); diff --git a/lib/Class/Struct.pm b/lib/Class/Struct.pm index ee231905cf..bad4f78165 100644 --- a/lib/Class/Struct.pm +++ b/lib/Class/Struct.pm @@ -2,7 +2,7 @@ package Class::Struct; ## See POD after __END__ -use 5.6.1; +use 5.006_001; use strict; use warnings::register; diff --git a/lib/Cwd.pm b/lib/Cwd.pm index 8b9a780be0..01f5ce43ea 100644 --- a/lib/Cwd.pm +++ b/lib/Cwd.pm @@ -1,5 +1,5 @@ package Cwd; -require 5.6.0; +use 5.006; =head1 NAME diff --git a/lib/Dumpvalue.pm b/lib/Dumpvalue.pm index 456261a999..427f57cc42 100644 --- a/lib/Dumpvalue.pm +++ b/lib/Dumpvalue.pm @@ -1,4 +1,4 @@ -use 5.6.1; # for (defined ref) and $#$v and our +use 5.006_001; # for (defined ref) and $#$v and our package Dumpvalue; use strict; our $VERSION = '1.00'; diff --git a/lib/ExtUtils/Command.pm b/lib/ExtUtils/Command.pm index b7b41cd7ce..bf1e0e5df8 100644 --- a/lib/ExtUtils/Command.pm +++ b/lib/ExtUtils/Command.pm @@ -1,6 +1,6 @@ package ExtUtils::Command; -use 5.6.1; +use 5.006_001; use strict; # use AutoLoader; use Carp; diff --git a/lib/ExtUtils/Install.pm b/lib/ExtUtils/Install.pm index d70104202a..14a6e08558 100644 --- a/lib/ExtUtils/Install.pm +++ b/lib/ExtUtils/Install.pm @@ -1,6 +1,6 @@ package ExtUtils::Install; -use 5.6.1; +use 5.006_001; our(@ISA, @EXPORT, $VERSION); $VERSION = substr q$Revision: 1.29 $, 10; # $Date: 1998/01/25 07:08:24 $ diff --git a/lib/ExtUtils/Installed.pm b/lib/ExtUtils/Installed.pm index 942185ed87..7433c01dc8 100644 --- a/lib/ExtUtils/Installed.pm +++ b/lib/ExtUtils/Installed.pm @@ -1,6 +1,6 @@ package ExtUtils::Installed; -use 5.6.1; +use 5.006_001; use strict; use Carp qw(); use ExtUtils::Packlist; diff --git a/lib/ExtUtils/Liblist.pm b/lib/ExtUtils/Liblist.pm index ae565fce02..09421e331f 100644 --- a/lib/ExtUtils/Liblist.pm +++ b/lib/ExtUtils/Liblist.pm @@ -21,7 +21,7 @@ package ExtUtils::Liblist::Kid; # This kid package is to be used by MakeMaker. It will not work if # $self is not a Makemaker. -use 5.6.1; +use 5.006_001; # Broken out of MakeMaker from version 4.11 our $VERSION = substr q$Revision: 1.27 $, 10; diff --git a/lib/ExtUtils/Mksymlists.pm b/lib/ExtUtils/Mksymlists.pm index 586113114f..0135cda4f8 100644 --- a/lib/ExtUtils/Mksymlists.pm +++ b/lib/ExtUtils/Mksymlists.pm @@ -1,6 +1,6 @@ package ExtUtils::Mksymlists; -use 5.6.1; +use 5.006_001; use strict qw[ subs refs ]; # no strict 'vars'; # until filehandles are exempted diff --git a/lib/ExtUtils/Packlist.pm b/lib/ExtUtils/Packlist.pm index 7b664d1139..ea4ec5e61f 100644 --- a/lib/ExtUtils/Packlist.pm +++ b/lib/ExtUtils/Packlist.pm @@ -1,6 +1,6 @@ package ExtUtils::Packlist; -use 5.6.1; +use 5.006_001; use strict; use Carp qw(); our $VERSION = '0.04'; diff --git a/lib/Fatal.pm b/lib/Fatal.pm index bf54d9182b..0ea5963df0 100644 --- a/lib/Fatal.pm +++ b/lib/Fatal.pm @@ -1,6 +1,6 @@ package Fatal; -use 5.6.1; +use 5.006_001; use Carp; use strict; our($AUTOLOAD, $Debug, $VERSION); diff --git a/lib/File/Basename.pm b/lib/File/Basename.pm index e16f87187e..c7657881b9 100644 --- a/lib/File/Basename.pm +++ b/lib/File/Basename.pm @@ -135,7 +135,7 @@ BEGIN { -use 5.6.0; +use 5.006; use warnings; our(@ISA, @EXPORT, $VERSION, $Fileparse_fstype, $Fileparse_igncase); require Exporter; diff --git a/lib/File/CheckTree.pm b/lib/File/CheckTree.pm index 35f7906e53..e58e3ecb2c 100644 --- a/lib/File/CheckTree.pm +++ b/lib/File/CheckTree.pm @@ -2,7 +2,7 @@ package File::CheckTree; our $VERSION = '4.1'; -require 5.6.0; +use 5.006; require Exporter; use warnings; diff --git a/lib/File/Compare.pm b/lib/File/Compare.pm index b83ba62583..e1d5e7db91 100644 --- a/lib/File/Compare.pm +++ b/lib/File/Compare.pm @@ -1,6 +1,6 @@ package File::Compare; -use 5.6.0; +use 5.006; use strict; use warnings; our($VERSION, @ISA, @EXPORT, @EXPORT_OK, $Too_Big); diff --git a/lib/File/Copy.pm b/lib/File/Copy.pm index 7daa3ed60d..afb7635f69 100644 --- a/lib/File/Copy.pm +++ b/lib/File/Copy.pm @@ -7,7 +7,7 @@ package File::Copy; -use 5.6.0; +use 5.006; use strict; use warnings; use Carp; diff --git a/lib/File/Find.pm b/lib/File/Find.pm index 1ebfba3184..de0b5340e4 100644 --- a/lib/File/Find.pm +++ b/lib/File/Find.pm @@ -1,7 +1,7 @@ package File::Find; +use 5.006; use strict; use warnings; -use 5.6.0; our $VERSION = '1.02'; require Exporter; require Cwd; diff --git a/lib/File/Path.pm b/lib/File/Path.pm index 7d56d48f28..3560a970a2 100644 --- a/lib/File/Path.pm +++ b/lib/File/Path.pm @@ -91,7 +91,7 @@ Charles Bailey <F<bailey@newman.upenn.edu>> =cut -use 5.6.0; +use 5.006; use Carp; use File::Basename (); use Exporter (); diff --git a/lib/File/stat.pm b/lib/File/stat.pm index aff5d03020..accae9f559 100644 --- a/lib/File/stat.pm +++ b/lib/File/stat.pm @@ -1,8 +1,9 @@ package File::stat; +use 5.006; + use strict; use warnings; -use 5.6.0; our(@EXPORT, @EXPORT_OK, %EXPORT_TAGS); our $VERSION = '1.00'; diff --git a/lib/FileHandle.pm b/lib/FileHandle.pm index 51c73becb7..6be2242944 100644 --- a/lib/FileHandle.pm +++ b/lib/FileHandle.pm @@ -1,6 +1,6 @@ package FileHandle; -use 5.6.1; +use 5.006; use strict; our($VERSION, @ISA, @EXPORT, @EXPORT_OK); diff --git a/lib/Math/Trig.pm b/lib/Math/Trig.pm index e4732c1d0c..d1ac4f5500 100644 --- a/lib/Math/Trig.pm +++ b/lib/Math/Trig.pm @@ -7,7 +7,7 @@ require Exporter; package Math::Trig; -use 5.6.1; +use 5.006; use strict; use Math::Complex qw(:trig); diff --git a/lib/Net/Ping.pm b/lib/Net/Ping.pm index 8226a97c93..c963a07afd 100644 --- a/lib/Net/Ping.pm +++ b/lib/Net/Ping.pm @@ -12,7 +12,7 @@ package Net::Ping; # Copyright (c) 2001, Colin McMillen. All rights reserved. This # program is free software; you may redistribute it and/or modify it # under the same terms as Perl itself. -use 5.6.1; +use 5.006_001; require Exporter; use strict; diff --git a/lib/Net/hostent.pm b/lib/Net/hostent.pm index 44537a2470..04cbee35a7 100644 --- a/lib/Net/hostent.pm +++ b/lib/Net/hostent.pm @@ -1,7 +1,7 @@ package Net::hostent; use strict; -use 5.6.1; +use 5.006_001; our $VERSION = '1.00'; our(@EXPORT, @EXPORT_OK, %EXPORT_TAGS); BEGIN { diff --git a/lib/Net/netent.pm b/lib/Net/netent.pm index 210da62c50..f7d32cb925 100644 --- a/lib/Net/netent.pm +++ b/lib/Net/netent.pm @@ -1,7 +1,7 @@ package Net::netent; use strict; -use 5.6.1; +use 5.006_001; our $VERSION = '1.00'; our(@EXPORT, @EXPORT_OK, %EXPORT_TAGS); BEGIN { diff --git a/lib/Net/protoent.pm b/lib/Net/protoent.pm index 5bd0b83837..2cbccad3cb 100644 --- a/lib/Net/protoent.pm +++ b/lib/Net/protoent.pm @@ -1,7 +1,7 @@ package Net::protoent; use strict; -use 5.6.1; +use 5.006_001; our $VERSION = '1.00'; our(@EXPORT, @EXPORT_OK, %EXPORT_TAGS); BEGIN { diff --git a/lib/Net/servent.pm b/lib/Net/servent.pm index eaf621a397..63ae3079fe 100644 --- a/lib/Net/servent.pm +++ b/lib/Net/servent.pm @@ -1,7 +1,7 @@ package Net::servent; use strict; -use 5.6.1; +use 5.006_001; our $VERSION = '1.00'; our(@EXPORT, @EXPORT_OK, %EXPORT_TAGS); BEGIN { diff --git a/lib/Shell.pm b/lib/Shell.pm index 5d2f2175d8..9762a3aa0b 100644 --- a/lib/Shell.pm +++ b/lib/Shell.pm @@ -1,5 +1,5 @@ package Shell; -use 5.6.1; +use 5.006_001; use strict; use warnings; our($capture_stderr, $VERSION, $AUTOLOAD); diff --git a/lib/Tie/Array.pm b/lib/Tie/Array.pm index c751d5ba71..1cc99b8980 100644 --- a/lib/Tie/Array.pm +++ b/lib/Tie/Array.pm @@ -1,6 +1,6 @@ package Tie::Array; -use 5.6.1; +use 5.006_001; use strict; use Carp; our $VERSION = '1.02'; diff --git a/lib/Tie/Handle.pm b/lib/Tie/Handle.pm index 8e40589c69..6fd30d8c74 100644 --- a/lib/Tie/Handle.pm +++ b/lib/Tie/Handle.pm @@ -1,6 +1,6 @@ package Tie::Handle; -use 5.6.1; +use 5.006_001; our $VERSION = '4.1'; =head1 NAME diff --git a/lib/Time/Local.pm b/lib/Time/Local.pm index 61805849f8..e99aab1321 100644 --- a/lib/Time/Local.pm +++ b/lib/Time/Local.pm @@ -1,5 +1,5 @@ package Time::Local; -require 5.6.0; +use 5.006; require Exporter; use Carp; use strict; diff --git a/lib/Time/gmtime.pm b/lib/Time/gmtime.pm index 39cfdc2fd7..4e1359b36d 100644 --- a/lib/Time/gmtime.pm +++ b/lib/Time/gmtime.pm @@ -1,8 +1,9 @@ package Time::gmtime; use strict; +use 5.006_001; + use Time::tm; -use 5.6.1; our(@ISA, @EXPORT, @EXPORT_OK, %EXPORT_TAGS, $VERSION); BEGIN { use Exporter (); diff --git a/lib/Time/localtime.pm b/lib/Time/localtime.pm index 5495559863..c3d9fb3608 100644 --- a/lib/Time/localtime.pm +++ b/lib/Time/localtime.pm @@ -1,8 +1,9 @@ package Time::localtime; use strict; +use 5.006_001; + use Time::tm; -use 5.6.1; our(@ISA, @EXPORT, @EXPORT_OK, %EXPORT_TAGS, $VERSION); BEGIN { use Exporter (); diff --git a/lib/User/grent.pm b/lib/User/grent.pm index e146ec0bb4..d9581d8aa8 100644 --- a/lib/User/grent.pm +++ b/lib/User/grent.pm @@ -1,7 +1,7 @@ package User::grent; use strict; -use 5.6.1; +use 5.006_001; our $VERSION = '1.00'; our(@EXPORT, @EXPORT_OK, %EXPORT_TAGS); BEGIN { diff --git a/lib/base.pm b/lib/base.pm index 00391b46d4..c6d8cca4a7 100644 --- a/lib/base.pm +++ b/lib/base.pm @@ -44,7 +44,7 @@ L<fields> package base; -use 5.6.1; +use 5.006_001; our $VERSION = "1.02"; sub import { diff --git a/lib/diagnostics.pm b/lib/diagnostics.pm index 5d8f4e7c8f..031b08e156 100755 --- a/lib/diagnostics.pm +++ b/lib/diagnostics.pm @@ -168,7 +168,7 @@ Tom Christiansen <F<tchrist@mox.perl.com>>, 25 June 1995. =cut use strict; -use 5.6.0; +use 5.006; use Carp; our $VERSION = 1.1; diff --git a/lib/fields.pm b/lib/fields.pm index 5374848d2a..be2a7aedab 100644 --- a/lib/fields.pm +++ b/lib/fields.pm @@ -127,7 +127,7 @@ L<perlref/Pseudo-hashes: Using an array as a hash> =cut -use 5.6.1; +use 5.006_001; use strict; no strict 'refs'; use warnings::register; diff --git a/lib/vars.pm b/lib/vars.pm index 4abc2d1c08..a051ba128a 100644 --- a/lib/vars.pm +++ b/lib/vars.pm @@ -1,6 +1,6 @@ package vars; -require 5.6.0; +use 5.006; our $VERSION = '1.01'; |