in reply to Re^2: hash ref mind blow
in thread hash ref mind blow
For global variables, just do a glob assignment:
*copy = \%hash;
then, %copy and %hash are the same data structure. Otherwise, that is, for lexical variables, use Data::Alias.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: hash ref mind blow
by ikegami (Patriarch) on Sep 24, 2008 at 21:39 UTC |