Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: How many loops are there in Perl?

by tobyink (Abbot)
on Jan 31, 2012 at 07:21 UTC ( #950900=note: print w/ replies, xml ) Need Help??


in reply to How many loops are there in Perl?

Dunno... does this count?

my ($from, $to) = (1, 3); my $x; $x = sub { my $i = shift; print "Inside recursive sub!\n"; $x->(++$i) if $i < $to; } and $x->($from);

TIMT7WTDI


Comment on Re: How many loops are there in Perl?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (11)
As of 2014-07-30 13:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (234 votes), past polls