Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Passing parameters to object method references

by rhesa (Vicar)
on Jun 21, 2007 at 10:47 UTC ( [id://622532]=note: print w/replies, xml ) Need Help??


in reply to Passing parameters to object method references

Your subs in the dispatch table need to accept parameters:
dispatch => { A => sub { $self->suba(@_) }, B => sub { $self->subb(@_) }, }

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2024-03-28 20:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found