diff options
author | Robin Barker <RMBarker@cpan.org> | 2001-06-07 13:34:08 +0100 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-06-07 12:16:12 +0000 |
commit | 0addb26a8d52b778aa7c6491e34f40d84fccf4d1 (patch) | |
tree | 5ed4d7a8dd2bb51a0265d730bfe9da2d47424e29 /lib | |
parent | 9e9796d60fe5caa415e63b60595d4ea57c358a48 (diff) | |
download | perl-0addb26a8d52b778aa7c6491e34f40d84fccf4d1.tar.gz |
long =item
Message-Id: <200106071134.MAA10288@tempest.npl.co.uk>
p4raw-id: //depot/perl@10469
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Attribute/Handlers.pm | 16 | ||||
-rw-r--r-- | lib/ExtUtils/Constant.pm | 8 | ||||
-rw-r--r-- | lib/Locale/Maketext.pod | 8 |
3 files changed, 24 insertions, 8 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 diff --git a/lib/ExtUtils/Constant.pm b/lib/ExtUtils/Constant.pm index 7bdf5857d3..4efccfe8db 100644 --- a/lib/ExtUtils/Constant.pm +++ b/lib/ExtUtils/Constant.pm @@ -294,7 +294,9 @@ sub params { return ($use_iv, $use_nv, $use_pv); } -=item dump_names PACKAGE, SUBNAME, DEFAULT_TYPE, TYPES, INDENT, ITEM... +=item dump_names + +dump_names PACKAGE, SUBNAME, DEFAULT_TYPE, TYPES, INDENT, ITEM... An internal function to generate the embedded perl code that will regenerate the constant subroutines. Parameters are the same as for C_constant, except @@ -404,7 +406,9 @@ __END__ $result; } -=item C_constant PACKAGE, SUBNAME, DEFAULT_TYPE, TYPES, INDENT, NAMELEN, ITEM... +=item C_constant + +C_constant PACKAGE, SUBNAME, DEFAULT_TYPE, TYPES, INDENT, NAMELEN, ITEM... A function that returns a B<list> of C subroutine definitions that return the value and type of constants when passed the name by the XS wrapper. diff --git a/lib/Locale/Maketext.pod b/lib/Locale/Maketext.pod index b28a9d83c8..d32f9d5901 100644 --- a/lib/Locale/Maketext.pod +++ b/lib/Locale/Maketext.pod @@ -110,7 +110,9 @@ These are to do with constructing a language handle: =over -=item $lh = YourProjClass->get_handle( ...langtags... ) || die "lg-handle?"; +=item * + +$lh = YourProjClass->get_handle( ...langtags... ) || die "lg-handle?"; This tries loading classes based on the language-tags you give (like C<("en-US", "sk", "kon", "es-MX", "ja", "i-klingon")>, and for the first class @@ -131,7 +133,9 @@ then if nothing comes of that, we use classes named by YourProjClass->fallback_language_classes(). Then in the (probably quite unlikely) event that that fails, we just return undef. -=item $lh = YourProjClass->get_handleB<()> || die "lg-handle?"; +=item * + +$lh = YourProjClass->get_handleB<()> || die "lg-handle?"; When C<get_handle> is called with an empty parameter list, magic happens: |