in reply to Constants and perl
Use it like this: (taken from the manpage)
There's a post on perl5-porters about constant/readonly values: Re: Proposed pragma: readonly - summary. I believe most of these are just proposals, but it's rather interesting.use Const; const my $SCALAR1 => 10 ;
|
|---|