This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Remove dead code from sort.pm
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Sun, 3 Sep 2006 12:51:57 +0000 (12:51 +0000)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Sun, 3 Sep 2006 12:51:57 +0000 (12:51 +0000)
p4raw-id: //depot/perl@28776

lib/sort.pm

index 529077e..922f82b 100644 (file)
@@ -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 {