Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: Getting brackets right, checking for package subs

by cosmicperl (Chaplain)
on Feb 19, 2009 at 13:27 UTC ( [id://745037]=note: print w/replies, xml ) Need Help??


in reply to Re: Getting brackets right, checking for package subs
in thread Getting brackets right, checking for package subs

Ahh brilliant. Thanks. I've adapted this a little and ended up with:-
defined &{ "${package}::$rmhash{$runmode}" }
Which works with strict ref turned on.
I would use a dispatch table, but that runmode hash is from CGI::Application.


Lyle

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (6)
As of 2024-05-21 23:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found