![]() |
|
Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^5: Shouldn't references be readonly?by jcb (Parson) |
on Aug 05, 2020 at 22:01 UTC ( #11120373=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|