in reply to Re^6: foreach $1 -- all special variables
in thread foreach $1
for $\ (qw( a b c d )) { print "@{[1, 2, 3]}"; } print $/; for $_ (qw( a b c d )) { print "@{[1, 2, 3]}"; } #output 1 2 31 2 31 2 31 2 3 1 2 31 2 31 2 31 2 3
L*
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: foreach $1 -- all special variables
by LanX (Saint) on Jun 07, 2020 at 20:01 UTC | |
by Discipulus (Canon) on Jun 08, 2020 at 08:42 UTC |