in reply to Re: Readonly oddity
in thread Readonly oddity
I just changed:
Readonly my $foo = 'bar'; Readonly my @baz = (qw/glug argh/);
to:
And got fine output.Readonly my $foo => 'bar'; Readonly my @baz => (qw/glug argh/);
I would ask the initial "Anonymous Monk" poster to please read "perldoc Readonly" a bit more carefully. Thx.
As choroba noted the post did not do a good job of answering the question and the comment with a strike through it was not appropriate. I have taken some time and effort to research the question more carefully and have put some insights that I still feel may be useful in a new separate post in this thread.
Ron
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Readonly oddity
by choroba (Cardinal) on Jan 26, 2016 at 14:23 UTC |
In Section
Seekers of Perl Wisdom