Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

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

by AnomalousMonk (Archbishop)
on Nov 23, 2017 at 03:52 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (2)
As of 2024-04-24 23:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found