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?my %consts = (FOO => 42, BAR => 99); my %names = reverse %consts;
In reply to Re: Crazy constant question...
by SuicideJunkie
in thread Crazy constant question...
by pileofrogs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |