From: Robin Barker Date: Sun, 20 Sep 2009 20:32:06 +0000 (+0100) Subject: typo in usage of deprecate X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6fcc101e247754269f37bfa4586f8325b2e75b06;p=p5sagit%2Fp5-mst-13.2.git typo in usage of deprecate --- diff --git a/ext/Pod-Plainer/Plainer.pm b/ext/Pod-Plainer/Plainer.pm index 42ec25c..f64eb60 100644 --- a/ext/Pod-Plainer/Plainer.pm +++ b/ext/Pod-Plainer/Plainer.pm @@ -1,6 +1,6 @@ package Pod::Plainer; use strict; -use if $[ >= 5.011, 'deprecate'; +use if $] >= 5.011, 'deprecate'; use Pod::Parser; our @ISA = qw(Pod::Parser); our $VERSION = '1.00'; diff --git a/lib/deprecate.pm b/lib/deprecate.pm index 9519223..7b92e0b 100644 --- a/lib/deprecate.pm +++ b/lib/deprecate.pm @@ -65,7 +65,7 @@ deprecate - Perl pragma for deprecating the core version of a module use deprecate; # always deprecate the module in which this occurs - use if $[ > 5.010, 'deprecate'; # conditionally deprecate the module + use if $] > 5.010, 'deprecate'; # conditionally deprecate the module =head1 DESCRIPTION