From: Perl 5 Porters Date: Mon, 24 Jun 1996 03:07:53 +0000 (+0000) Subject: perl 5.003: ext/NDBM_File/NDBM_File.pm X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=43c9fafc3bc596eb73042d9ecc602496bf723f04;p=p5sagit%2Fp5-mst-13.2.git perl 5.003: ext/NDBM_File/NDBM_File.pm C with Perl 5.002 or later to avoid confusing warnings if installed in a library also used by Perl 5.001m. (It still won't work with 5,001m, but the error message now states this more clearly.) --- diff --git a/ext/NDBM_File/NDBM_File.pm b/ext/NDBM_File/NDBM_File.pm index 601a3c2..6072e65 100644 --- a/ext/NDBM_File/NDBM_File.pm +++ b/ext/NDBM_File/NDBM_File.pm @@ -1,6 +1,10 @@ package NDBM_File; -use strict; +BEGIN { + if ($] >= 5.002) { + use strict; + } +} use vars qw($VERSION @ISA); require Tie::Hash;