in reply to Re: Interrogating stashes - Camel example doesn't work?
in thread Interrogating stashes - Camel example doesn't work?
stevieb began his expository goodness with:
You're close, but you have to dereference the symbol table entry appropriately, not use it directly as a local variable. The array/hash doesn't get magically created
I see! I wonder if something has changed in how Perl parses such things, since, as I mentioned, the example was virtually verbatim from The Divine Book of All Things Perlish (the "Camel"). Whatever the case, your assistance caused me to become enlightened and was very appreciated. I've incorporated this dereferencing technique in code in a module I'm working on.
- Soren
Jul 28, 2025 at 00:42 UTC
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Interrogating stashes - Camel example doesn't work?
by hossman (Prior) on Jul 29, 2025 at 22:57 UTC | |
Re^3: Interrogating stashes - Camel example doesn't work?
by hippo (Archbishop) on Jul 28, 2025 at 09:55 UTC |