Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: "Dynamic" dispatch tables

by Tanktalus (Canon)
on Apr 29, 2011 at 20:55 UTC ( [id://902074]=note: print w/replies, xml ) Need Help??


in reply to Re^2: "Dynamic" dispatch tables
in thread "Dynamic" dispatch tables

Yes. What package will they be in? If they'll be in the Foo package, then just use exists &{"Foo::tcid_$_"} instead. :-)

Replies are listed 'Best First'.
Re^4: "Dynamic" dispatch tables
by elTriberium (Friar) on Apr 29, 2011 at 21:02 UTC
    They won't be in any package, but in the .pl script. I got it to work by using "main::", thanks for the hint.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (3)
As of 2024-04-18 23:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found