Change 20159 by [EMAIL PROTECTED] on 2003/07/13 20:02:34
Subject: [PATCH] incorrect error message from Attribute::Handlers
From: Claes Jacobsson <[EMAIL PROTECTED]>
Date: Sat, 12 Jul 2003 16:30:42 +0200
Message-Id: <[EMAIL PROTECTED]>
Affected files ...
... //depot/perl/lib/Attribute/Handlers.pm#20 edit
Differences ...
==== //depot/perl/lib/Attribute/Handlers.pm#20 (text) ====
Index: perl/lib/Attribute/Handlers.pm
--- perl/lib/Attribute/Handlers.pm#19~18499~ Thu Jan 16 12:58:59 2003
+++ perl/lib/Attribute/Handlers.pm Sun Jul 13 13:02:34 2003
@@ -103,7 +103,7 @@
my ($class) = $AUTOLOAD =~ m/(.*)::/g;
$AUTOLOAD =~ m/_ATTR_(.*?)_(.*)/ or
croak "Can't locate class method '$AUTOLOAD' via package '$class'";
- croak "Attribute handler '$3' doesn't handle $2 attributes";
+ croak "Attribute handler '$2' doesn't handle $1 attributes";
}
sub DESTROY {}
End of Patch.