note
jwkrahn
<blockquote><i>
(As an aside; are you aware that <c>for my $word (@output){say $word;}</c> is more easily written as <c>say for @output</c>?)
</i></blockquote>
<p>
They are not the same:
</p>
<c>
$ perl -E'my @x = qw/one two three/; for my $x ( @x ) { say $x }'
one
two
three
$ perl -E'my @x = qw/one two three/; say @x'
onetwothree
</c>
1012454
1012460