in reply to On patterns and more

There's nothing special about $_ per say.
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 }