Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: call sub in string

by axelrose (Scribe)
on Feb 17, 2002 at 22:15 UTC ( #146052=note: print w/replies, xml ) Need Help??


in reply to call sub in string

Perl6 will provide an easier way to achieve this by:
"$(function_$i)"
I would anyway suggest to code this better as:
for ( 1..2 ) { function( $i ) }
and process the different values in the function.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2020-03-28 19:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    To "Disagree to disagree" means to:









    Results (167 votes). Check out past polls.

    Notices?