summaryrefslogtreecommitdiff
path: root/lib/Attribute
diff options
context:
space:
mode:
authorRobin Barker <RMBarker@cpan.org>2001-06-07 13:34:08 +0100
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-07 12:16:12 +0000
commit0addb26a8d52b778aa7c6491e34f40d84fccf4d1 (patch)
tree5ed4d7a8dd2bb51a0265d730bfe9da2d47424e29 /lib/Attribute
parent9e9796d60fe5caa415e63b60595d4ea57c358a48 (diff)
downloadperl-0addb26a8d52b778aa7c6491e34f40d84fccf4d1.tar.gz
long =item
Message-Id: <200106071134.MAA10288@tempest.npl.co.uk> p4raw-id: //depot/perl@10469
Diffstat (limited to 'lib/Attribute')
-rw-r--r--lib/Attribute/Handlers.pm16
1 files changed, 12 insertions, 4 deletions
diff --git a/lib/Attribute/Handlers.pm b/lib/Attribute/Handlers.pm
index 96d4f68764..a0a57fe19b 100644
--- a/lib/Attribute/Handlers.pm
+++ b/lib/Attribute/Handlers.pm
@@ -596,27 +596,35 @@ Let's you write:
=over
-=item C<Bad attribute type: ATTR(%s)>
+=item *
+
+C<Bad attribute type: ATTR(%s)>
An attribute handler was specified with an C<:ATTR(I<ref_type>)>, but the
type of referent it was defined to handle wasn't one of the five permitted:
C<SCALAR>, C<ARRAY>, C<HASH>, C<CODE>, or C<ANY>.
-=item C<Attribute handler %s doesn't handle %s attributes>
+=item *
+
+ C<Attribute handler %s doesn't handle %s attributes>
A handler for attributes of the specified name I<was> defined, but not
for the specified type of declaration. Typically encountered whe trying
to apply a C<VAR> attribute handler to a subroutine, or a C<SCALAR>
attribute handler to some other type of variable.
-=item C<Declaration of %s attribute in package %s may clash with future reserved word>
+=item *
+
+C<Declaration of %s attribute in package %s may clash with future reserved word>
A handler for an attributes with an all-lowercase name was declared. An
attribute with an all-lowercase name might have a meaning to Perl
itself some day, even though most don't yet. Use a mixed-case attribute
name, instead.
-=item C<Internal error: %s symbol went missing>
+=item *
+
+C<Internal error: %s symbol went missing>
Something is rotten in the state of the program. An attributed
subroutine ceased to exist between the point it was declared and the end