Syntactic Confectionery Delight | |
PerlMonks |
Re^3: Data Dumper Japhby ambrus (Abbot) |
on Jan 16, 2007 at 12:09 UTC ( [id://594895]=note: print w/replies, xml ) | Need Help?? |
You can't just omit the braces, but you can do this instead: *{"11abc"}->(); or &{"11abc"}(); The first one works because you can dereference the glob like any of a scalar, array, hash, code, io, or glob reference. That is, when you do this, you don't explicitly need to take the right part of the glob with the *foo{THING} notation. The second should be obvious.
In Section
Obfuscated Code
|
|