avoid implicit split to @_ in change#4181; binary -> text file
Gurusamy Sarathy [Mon, 27 Sep 1999 17:05:22 +0000 (17:05 +0000)]
types in p4

p4raw-link: @4181 on //depot/cfgperl: d8936fac7ff60d68386a4192b6416377d019892e

p4raw-id: //depot/perl@4242

lib/Exporter/Heavy.pm

index 91ad613..95ffc55 100644 (file)
@@ -179,8 +179,7 @@ sub heavy_export_to_level
 {
       my $pkg = shift;
       my $level = shift;
-    # need to get rid of the first argument, its junk
-    shift;
+      (undef) = shift;                 # XXX redundant arg
       my $callpkg = caller($level);
       $pkg->export($callpkg, @_);
 }