@EXPORT_FAIL fix for Exporter.pm
authorRoderick Schertler <roderick@argon.org>
Sat, 8 Mar 1997 17:22:04 +0000 (12:22 -0500)
committerChip Salzenberg <chip@atlantic.net>
Thu, 6 Mar 1997 16:01:12 +0000 (04:01 +1200)
The default export_fail method in Exporter.pm needs to drop the first
argument (the class name).

p5p-msgid: 24884.857841724@eeyore.ibcinc.com

lib/Exporter.pm

index fd95a7e..abdb1e7 100644 (file)
@@ -176,6 +176,7 @@ sub export_ok_tags { _push_tags((caller)[0], "EXPORT_OK", \@_) }
 # Default methods
 
 sub export_fail {
+    my $self = shift;
     @_;
 }