in reply to
Re: Re: Readonly variable
in thread
Readonly variable
You can use a comma or a semicolon, there is no difference. An even shorter (faster?) approach might be:
sub is_readonly { eval { $_[0] = $_[0], 1 } }
japhy
--
Perl and Regex Hacker
Comment on
Re: Re: Re: Readonly variable
Download
Code
In Section
Seekers of Perl Wisdom