in reply to Re: OOP - Constant Vs. Subroutine
in thread OOP - Constant Vs. Subroutine
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.
|
|---|