"Using a hash as a reference is deprecated"
I guess I don't get what you mean from what you write. Could you provide a code example on how that's done?
I know of hashes, and anonymous hashes, and taking references to a named hash, and passing around hash references (i.e. scalars). But "using a hash as a reference" sounds to me like some not-yet-heard-of magic of evaluating a hash (in scalar context?) and getting a reference to a hash thereof. Hmm.
--shmem
_($_=" "x(1<<5)."?\n".q·/)Oo. G°\ /
/\_¯/(q /
---------------------------- \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
In reply to Re: When will "Using a hash as a reference is deprecated" be enforced?
by shmem
in thread When will "Using a hash as a reference is deprecated" be enforced?
by cdarke
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |