From: Rafael Garcia-Suarez Date: Sun, 3 Sep 2006 12:51:57 +0000 (+0000) Subject: Remove dead code from sort.pm X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e3e604253933e4879608487ff739a9cc6728084b;p=p5sagit%2Fp5-mst-13.2.git Remove dead code from sort.pm p4raw-id: //depot/perl@28776 --- diff --git a/lib/sort.pm b/lib/sort.pm index 529077e..922f82b 100644 --- a/lib/sort.pm +++ b/lib/sort.pm @@ -1,6 +1,6 @@ package sort; -our $VERSION = '2.00'; +our $VERSION = '2.01'; # The hints for pp_sort are now stored in $^H{sort}; older versions # of perl used the global variable $sort::hints. -- rjh 2005-12-19 @@ -19,7 +19,6 @@ sub import { Carp::croak("sort pragma requires arguments"); } local $_; - no warnings 'uninitialized'; # bitops would warn $^H{sort} //= 0; while ($_ = shift(@_)) { if (/^_q(?:uick)?sort$/) { @@ -37,7 +36,6 @@ sub import { Carp::croak("sort: unknown subpragma '$_'"); } } - $^H |= $sort::hint_bits; } sub unimport {