http://qs1969.pair.com?node_id=1153676


in reply to Re: Readonly oddity
in thread Readonly oddity

I just changed:

Readonly my $foo = 'bar'; Readonly my @baz = (qw/glug argh/);

to:

Readonly my $foo => 'bar'; Readonly my @baz => (qw/glug argh/);
And got fine output.

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