X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2Fsort.pm;h=922f82b46915b1e39bae61558d594afb5da182e2;hb=4c38808d92b95edd5d3bf512019007a1e4a385d9;hp=529077ebe1318974707423469d954474b4d2b5ab;hpb=5b9c067131ee63b4afa00d1d71c771377deb6ff9;p=p5sagit%2Fp5-mst-13.2.git 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 {