X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2Fsort.pm;h=922f82b46915b1e39bae61558d594afb5da182e2;hb=46471bde41ad0777edf7b89818df6730e8b55c20;hp=326724b0f8cb83b5ec869866097dc31bdc9d5a92;hpb=7168684c4ec9fd16f6c71a229097fb6d4325493a;p=p5sagit%2Fp5-mst-13.2.git diff --git a/lib/sort.pm b/lib/sort.pm index 326724b..922f82b 100644 --- a/lib/sort.pm +++ b/lib/sort.pm @@ -1,12 +1,10 @@ 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 -$sort::hint_bits = 0x00020000; # HINT_LOCALIZE_HH - $sort::quicksort_bit = 0x00000001; $sort::mergesort_bit = 0x00000002; $sort::sort_bits = 0x000000FF; # allow 256 different ones @@ -21,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$/) { @@ -39,7 +36,6 @@ sub import { Carp::croak("sort: unknown subpragma '$_'"); } } - $^H |= $sort::hint_bits; } sub unimport {