Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: How many loops are there in Perl?

by cursion (Pilgrim)
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
Replies are listed 'Best First'.
Re^2: How many loops are there in Perl?
by LanX (Chancellor) 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?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2015-11-27 12:59 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (729 votes), past polls