Bug#558428: mention that perl can't deal with certain one letter subroutines

jidanni at jidanni.org jidanni at jidanni.org
Sat Nov 28 20:23:07 UTC 2009


X-debbugs-cc: 5064-close at emacsbugs.donarmstrong.com, monnier at iro.umontreal.ca
Package: perl-doc
Version: 5.10.1-8
Severity: wishlist
File: /usr/share/man/man1/perlsub.1.gz
Tags: upstream

Dear Perl guys: On the perlsub man page, please mention near:

       Subroutines whose names are in all upper case are reserved to the
       Perl core, as are modules whose names are in all lower case.

that sub m {...}
won't work too.

SM> Actually, the problem is not really that it's only one letter, but that
SM> it's the "keyword" m, used for matching (as in "m/regexp/").  Of course
SM> the same can happen with other keywords like "s", "tr", "y", "q", "qx",
SM> and various others.






More information about the Perl-maintainers mailing list