How many constants would a typical program use?
I say forget about exporting and make them type out the full name, one of these, whatever makes sense to you
Locale::CODE_DOM() Locale::LOCALE_CODE_DOM() c::LOCALE_CODE_DOM()
Otherwise I suggest something like Exporter::Lexical over plain old Exporter
In reply to Re: Exporter in an OO module for CONSTANTS? Lexical?
by Anonymous Monk
in thread Exporter in an OO module?
by SBECK
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |