Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: How many loops are there in Perl?

by bimleshsharma (Beadle)
on Jan 31, 2012 at 09:59 UTC ( #950921=note: print w/ replies, xml ) Need Help??


in reply to Re: How many loops are there in Perl?
in thread How many loops are there in Perl?

Actualy question is not vague but naked braces is not a loop. SO whatever you have said 6 loops that is fine.


Comment on Re^2: How many loops are there in Perl?
Replies are listed 'Best First'.
Re^3: How many loops are there in Perl?
by Anonymous Monk on Feb 02, 2012 at 09:37 UTC

    Yes, the question as asked is extremely vague, as evidenced by the things offered as loops

    map/grep/foreach cannot loop forever, they are iterators, but are still considered loops by some

    $ perl -le " print for 1 .. INF " Range iterator outside integer range at -e line 1.

Log In?
Username:
Password:

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

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

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (282 votes), past polls