Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Subroutines in Dispatch Tablesby rcaputo (Chaplain) |
on Sep 22, 2009 at 22:14 UTC ( [id://796831]=note: print w/replies, xml ) | Need Help?? |
Your error is in the action => &hello_me( @_ ) part. You should be taking a reference to hello_me() there instead of calling it: Then $dispatch_tables[1]->{action}->( "1", "2" ) should work.
In Section
Seekers of Perl Wisdom
|
|