Keep It Simple, Stupid | |
PerlMonks |
Re: Crazy constant question...by SuicideJunkie (Vicar) |
on Dec 15, 2010 at 20:57 UTC ( [id://877372]=note: print w/replies, xml ) | Need Help?? |
XY check: Are these trying to emulate enumerated types? If not, might hashes make more sense? Could you not do something like: then make the hashes read only or base your use constants on them?
In Section
Seekers of Perl Wisdom
|
|