Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Technique for building arguments from function name?

by nysus (Parson)
on Dec 04, 2017 at 19:29 UTC ( [id://1204884]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub function_cat {
      print "cat";
    ...
    sub function_dog {
      print "dog";
    }
    
  2. or download this
    sub function_x {
      print $x;
    }
    
    function_tiger(); # yields "tiger"
    

Log In?
Username:
Password:

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

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

    No recent polls found