broquaint, I respect you very much. However, I was just wondering if you were aware that @constants will contain numbers and that you'll be checking whether or not a constant by that name exists...which it won't. Of course, you could declare the constants as X => "X" instead of X=>number to get it to work. I dunno. It's 4am and am being a bit dense I guess. :-/
antirice
The first rule of Perl club is - use Perl
The ith rule of Perl club is - follow rule i - 1 for i > 1
In reply to Re: Re: managing constants created with constant.pm
by antirice
in thread managing constants created with constant.pm
by bakunin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |