in reply to Re^3: 5.26 sigil reference syntax in subfunction
in thread 5.26 sigil reference syntax in subfunction
Rule 2 case 3 is closest to what I am doing. The perlref page is pretty poor on explaining assigning values to subthings when the original value is a reference.
Additionally, arrows can be omitted between brackets and braces EXCEPT when the first element is a reference (otherwise you must have $$ref{}{}thing or $ref->{}{}thing is a pretty glaring exception to "easier reading". Having ->% but not ->\% just adds to the complexity of when and which order symbols have to be used during referencing/dereferencing.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: 5.26 sigil reference syntax in subfunction
by BillKSmith (Monsignor) on Nov 06, 2017 at 13:23 UTC |
In Section
Seekers of Perl Wisdom