develooper Front page | perl.perl5.porters | Postings from May 2000

Re: my $s : readonly [Was: Proposed pragma: readonly]

From:
Tom Christiansen
Date:
May 20, 2000 07:59
Subject:
Re: my $s : readonly [Was: Proposed pragma: readonly]
Message ID:
412.958834771@chthon
>Mark Summerfield wrote:
>> 
>> I wanted to make I<scalars> readonly 

>Would 

>   my $s : readonly ;

>be do-able?

Marking it readonly will make it rather hard to initialize.

--tom



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About