in reply to How many loops are there in Perl?
[1 .. 5] ~~ sub { say "Inside loop $_[0]?" }; # Perl 5.10.1+
In Section
Seekers of Perl Wisdom
in reply to How many loops are there in Perl?
[1 .. 5] ~~ sub { say "Inside loop $_[0]?" }; # Perl 5.10.1+