Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Passing a data structure via a dynamically-built subroutine call

by Tanalis (Curate)
on Jun 21, 2004 at 09:17 UTC ( [id://368391]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub call_service {
       my $svc  = shift;
       my $cmd  = shift;
    ...
        
       return eval $svc . "::" . $cmd . "(" . $arg . ")";
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://368391]
Approved by Corion
Front-paged by edan
help
Chatterbox?
and the web crawler heard nothing...

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

    No recent polls found