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

Re: Proposed pragma: readonly

Thread Previous | Thread Next
From:
andreas.koenig
Date:
May 20, 2000 08:57
Subject:
Re: Proposed pragma: readonly
Message ID:
m3aehl5i5c.fsf@ak-71.mind.de
>>>>> On Sat, 20 May 2000 14:34:49 +0100, Mark Summerfield <summer@queenwood.screaming.net> said:

 > "Andreas J. Koenig" wrote:
 > [snipped a lot of CPAN related stuff]
>> I'd say for a pragma like readonly, you should seek to get approval
>> from P5P. And I'd recommend scanning the archives because I recall,
>> there were other proposals for how a readonly.pm should look like (Hi,
>> Graham!). I believe, a readonly pragma is a good idea, and if the
>> experts agree with your implementation, this would be a very good
>> thing.
 > [snip]
 > (I didn't have any luck scanning the archives.)

I found again Graham's posting with a tie() solution for scalars,
arrays and hashes:

http://www.xray.mpe.mpg.de/mailing-lists/modules/1999-02/msg00090.html

-- 
andreas

Thread Previous | Thread Next


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