for (@names) { # Use $_ here }
is simply the same as
for $_ (@names) { # Use $_ here }
You can use a different variable if you want
for my $name (@names) { # Use $name here }
In reply to Re: On patterns and more
by ikegami
in thread On patterns and more
by Sary
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |