NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
All perfectly normal, nothing to see, move along (Score:1)
It all depends on the
&importof a module.Lingua::Identify [cpan.org] uses Exporter [cpan.org] which considers the parameter a version number and croaks because it's higher than the module's.
strict [cpan.org] uses a custom importer which considers the number a non-existant pragma tag and croaks.
In case noone else defines an
&import, modules inherit&UNIVERSAL::import. Interestingly, that one does differentiate between a literal number and an expression:Reply to This