http://www.perlmonks.org?node_id=950977


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.

Replies are listed 'Best First'.
Re^2: How many loops are there in Perl?
by LanX (Saint) on Feb 01, 2012 at 22:47 UTC
    not a loop because something() is only executed once and not 10 times.

    Cheers Rolf