in reply to Re^2: Why do I (sometimes) get a REF ref and not a SCALAR ref?
in thread Why do I (sometimes) get a REF ref and not a SCALAR ref?
My understanding is the three variables you listed are actually stored in the same dictionary entry, but as 'x (as a scalar)', 'x (as an array)' and 'x (as a hash)'. The appropriate value or list is returned based on the context.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Why do I (sometimes) get a REF ref and not a SCALAR ref?
by ikegami (Patriarch) on Jun 24, 2016 at 17:07 UTC | |
|
Re^4: Why do I (sometimes) get a REF ref and not a SCALAR ref?
by kennethk (Abbot) on Jun 23, 2016 at 18:39 UTC |