summaryrefslogtreecommitdiff
path: root/lib/Attribute
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Attribute')
-rw-r--r--lib/Attribute/Handlers.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Attribute/Handlers.pm b/lib/Attribute/Handlers.pm
index 9dfe783c66..b41a332a1c 100644
--- a/lib/Attribute/Handlers.pm
+++ b/lib/Attribute/Handlers.pm
@@ -103,7 +103,7 @@ sub AUTOLOAD {
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 {}