in reply to Aliasing hash-element and scalar?
I managed to alias a scalar to one hash-element.
But can I alias hash-elements from different hashes to the same scalar?
i.e. when I change $x it mirrors in $h{x} and $g{x} and vice versa?
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Aliasing hash-element and scalar? (Not Solved Yet)
by Corion (Patriarch) on Sep 03, 2018 at 19:03 UTC | |
by LanX (Saint) on Sep 03, 2018 at 19:27 UTC |