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

Re^7: Creating dispatch table with variable in function name

by AnomalousMonk (Bishop)
on Nov 23, 2017 at 03:52 UTC ( #1204103=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    c:\@Work\Perl\monks>perl -MData::Dump -le
    "use warnings;
    ...
     $disp{bar}(99, 88);
    "
    dispatch via unknown agent '_x_BAM' at -e line 1.
    
  2. or download this
    c:\@Work\Perl\monks>perl -MData::Dump -le
    "use warnings;
    ...
     Dispatch::me('bar', 99, 88);
    "
    dispatch via unknown agent '_x_BAM' at -e line 1.
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (7)
As of 2022-06-30 16:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My most frequent journeys are powered by:









    Results (98 votes). Check out past polls.

    Notices?