in reply to Slicing a hash reference from a collection of hash references within a hash reference
And as far as "getting your head around references" goes, just remember that they are a special type of scalar that "refers to" something else. Anything can be referred-to, and everything has a reference-count so that it will not disappear until all references are gone. (Mumble about "weakened" references ...) And, as far as "in one line" goes, don't be too concerned about that. It is not "a sign of a newbie" to use more source-code lines.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Slicing a hash reference from a collection of hash references within a hash reference
by muba (Priest) on Oct 08, 2015 at 02:27 UTC |
In Section
Seekers of Perl Wisdom