Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: Data Dumper Japh

by ambrus (Abbot)
on Jan 16, 2007 at 12:09 UTC ( #594895=note: print w/replies, xml ) Need Help??


in reply to Re^2: Data Dumper Japh
in thread Data Dumper Japh

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.

Replies are listed 'Best First'.
Re^4: Data Dumper Japh
by sgt (Deacon) on Jan 16, 2007 at 21:49 UTC

    ambrus++

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://594895]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2021-10-26 01:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (90 votes). Check out past polls.

    Notices?