It is a good point. All caps subs are reserved, so it's better to use "constants" with at least a non-cap (underscore etc...).
cheers --stephanuse constant MY_PACKAGE => 'blah blah'; use constant APPROX_PI => 3.1415926; use constant _PI_ => 3; # ugly?
In reply to Re: Constant names come into conflict with Perl style?
by sgt
in thread Constant names come into conflict with Perl style?
by dmitri
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |