As long as you're permuting over the for and foreach synonyms, why not include
foreach (my $x = 11; $x < 33; $x += 11) { print $x }
And for that matter, how about array references:
my @array = (11, 22, 33, 44);
my $array_ref = \@array;
print for @array;
print for @$array_ref;
etcetera.
In reply to Re: TIMTOWTDI - printing an array
by AnomalousMonk
in thread TIMTOWTDI - printing an array
by cheekuperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |