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


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

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.