Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Rosetta Dispatch Table

by Eily (Monsignor)
on Nov 22, 2017 at 18:31 UTC ( [id://1204055]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub Invoker::first    { shift; &first_callback }
    sub Invoker::last     { shift; &last_callback }
    sub Invoker::AUTOLOAD { -1 }
    ...
      my $name = shift; 
      Invoker->$name(@_); 
    }
    
  2. or download this
    use strict;
    use warnings;
    
    ...
       my $rc = invoker( $name, $name . '-arg' );
       print "$name: rc=$rc\n";
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (6)
As of 2024-04-19 07:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found