From: Michael G. Schwern Date: Tue, 22 May 2001 14:15:09 +0000 (+0100) Subject: Sensible minimum version X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e6d61defd5684ffe8111cd203c104889369b780a;p=p5sagit%2Fp5-mst-13.2.git Sensible minimum version Message-ID: <20010522141509.J701@blackrider.blackstar.co.uk> p4raw-id: //depot/perl@10181 --- diff --git a/lib/vars.pm b/lib/vars.pm index 39c3993..4abc2d1 100644 --- a/lib/vars.pm +++ b/lib/vars.pm @@ -1,18 +1,11 @@ package vars; -require 5.002; +require 5.6.0; -our $VERSION = '1.00'; - -# The following require can't be removed during maintenance -# releases, sadly, because of the risk of buggy code that does -# require Carp; Carp::croak "..."; without brackets dying -# if Carp hasn't been loaded in earlier compile time. :-( -# We'll let those bugs get found on the development track. -require Carp if $] < 5.00450; +our $VERSION = '1.01'; use warnings::register; -require strict; +use strict qw(vars subs); sub import { my $callpack = caller;