Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Recursive loops

by dsheroh (Prior)
on Dec 11, 2012 at 08:38 UTC ( #1008241=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @queue = (1, 2, 3, 4);
    while (@queue) {
    ...
      next unless subA($current);
      push @queue, subB($current);
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1008241]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (10)
As of 2017-10-23 12:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (279 votes). Check out past polls.

    Notices?