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.
In reply to Re^2: Readonly oddity
by mr_ron
in thread Readonly oddity
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |