The constant pragma will take care of this for you, too. Behind the scenes it creates subs with empty prototypes.
use constant one => 1; use constant two => 2;
In reply to Re: Puzzled by constant subs
by brian_d_foy
in thread Puzzled by constant subs
by grinder
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |