I should have clarified my intent...
If you're looking for 'read only' variables, then yes-- use Readonly , not constant
AFAIK : Readonly creates package variables , while constant creates inheritable subroutines. For my needs, constant was more appropriate -- though a sub with a null prototype seems to be even more appropriate.
In reply to Re^2: OOP - Constant Vs. Subroutine
by 2xlp
in thread OOP - Constant Vs. Subroutine
by 2xlp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |