in reply to Re: 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?
outputsperl -E 'say \\$x; say \\@x; say \\%x'
Seems like an odd design choice since it makes crawling an arbitrary reference tree harder and I wouldn't think it adds any useful information. Anyone know a justification?REF(0x735d48) REF(0x735d48) REF(0x735d48)
#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Why do I (sometimes) get a REF ref and not a SCALAR ref?
by choroba (Cardinal) on Jun 23, 2016 at 17:32 UTC | |
by kennethk (Abbot) on Jun 23, 2016 at 18:49 UTC | |
|
Re^3: Why do I (sometimes) get a REF ref and not a SCALAR ref?
by talexb (Chancellor) on Jun 23, 2016 at 15:26 UTC | |
by ikegami (Patriarch) on Jun 24, 2016 at 17:07 UTC | |
by kennethk (Abbot) on Jun 23, 2016 at 18:39 UTC |