Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: How many loops are there in Perl?

by cursion (Monk)
on Jan 31, 2012 at 14:04 UTC ( #950977=note: print w/ replies, xml ) Need Help??


in reply to How many loops are there in Perl?

print something() x10;
EDIT: On second thought (see reply to this) .. this only applies to a very loose definition (aka incorrect) of a loop.


Comment on Re: How many loops are there in Perl?
Download Code
Re^2: How many loops are there in Perl?
by LanX (Canon) on Feb 01, 2012 at 22:47 UTC
    not a loop because something() is only executed once and not 10 times.

    Cheers Rolf

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (11)
As of 2014-10-01 12:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (18 votes), past polls