in reply to to much hubris
And perlsub says:
Subroutines whose names are in all upper case are reserved to the Perl core, as are modules whose names are in all lower case.
Update: I don't see any reason for a supposed light-weight Exporter replacement to support use Foo "bar baz"; as an alternate form of use Foo qw/bar baz/;. It's cute, and easy to code, but not worth introducing an API difference for. What if Foo.pm switches back from your exporter to the standard one, or somebody else's replacement; then users of Foo who took advantage of the 2-character savings are broken.
Update 2: You really ought to check for invalid identifiers. And as a bonus, you could make leading digits trigger a $from->VERSION($_) version check, ala Exporter.
I'm looking for a job.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: to much hybries
by pmSwim (Acolyte) on Feb 08, 2007 at 19:27 UTC | |
by ysth (Canon) on Feb 08, 2007 at 19:56 UTC | |
by Anonymous Monk on Feb 08, 2007 at 21:24 UTC |