* Karl Williamson <public@khwilliamson.com> [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 charnames.pm (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. grep.cpan.me is down, but I found more than zero results with: http://www.google.com/codesearch#search/&q=%22use%20charnames%20%28%29%22%20lang:perl&p=1&type=cs -- rjbsThread Previous | Thread Next