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.action => \&hello_me,
In reply to Re: Subroutines in Dispatch Tables
by rcaputo
in thread Subroutines in Dispatch Tables
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |