in reply to Re^4: Shouldn't references be readonly?
in thread Shouldn't LITERAL references be readonly? (updated)
Source?
Source is perlref: (I misremembered slightly)
Anonymous hash and array composers like these can be intermixed freely to produce as complicated a structure as you want. The multidimensional syntax described below works for these too. The values above are literals, but variables and expressions would work just as well, because assignment operators in Perl (even within local() or my()) are executable statements, not compile-time declarations.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: Shouldn't references be readonly?
by LanX (Saint) on Aug 05, 2020 at 22:11 UTC | |
by jcb (Parson) on Aug 05, 2020 at 22:18 UTC |
In Section
Seekers of Perl Wisdom