in reply to How many loops are there in Perl?

Dunno... does this count?

my ($from, $to) = (1, 3); my $x; $x = sub { my $i = shift; print "Inside recursive sub!\n"; $x->(++$i) if $i < $to; } and $x->($from);

TIMT7WTDI