develooper Front page | perl.perl5.porters | Postings from November 2011

Re: RFC: Autoloading charnames

Thread Previous | Thread Next
Ricardo Signes
November 27, 2011 14:43
Re: RFC: Autoloading charnames
Message ID:
* Karl Williamson <> [2011-11-27T17:30:08]
> I had prototyped #1  some time ago.  I used a simple solution to
> avoid importing the functions, and that was to use  undocumented
> mangled names for the function definitions in (simply
> prefixing them with an underscore, but further mangling could be
> done), and then in the import method, doing
> *charnames::viacode = *_viacode;
> *charnames::vianame = *_vianame;
> *charnames::string_vianame = *_string_vianame;
> Is this acceptable, or is a sub-module really needed?

Won't this break (for example) Unicode::UCD, which does "use charnames ()" but
then calls charnames::viacode?

That seems like a pattern we might find other places, too. is
down, but I found more than zero results with:


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About