Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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 romping around the Monastery: (6)
As of 2020-10-29 08:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (269 votes). Check out past polls.

    Notices?