in reply to perlrun: -a implicitly sets -n
Update: I just looked, and the first version I can find that this was introduced is in v5.20.0, here, so you probably are on v5.18.0 or earlier.
Which version of perl, and in which version of perlrun did you glean that from? I'm on v5.22.0.
steve@spek ~/scratch $ perl -wMstrict -M5.010 -ae 'say $F[0]' test.dat foo baz
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: perlrun: -a implicitly sets -n
by 1nickt (Canon) on Jul 30, 2015 at 23:41 UTC | |
by stevieb (Canon) on Jul 30, 2015 at 23:55 UTC | |
by 1nickt (Canon) on Jul 31, 2015 at 00:20 UTC | |
by stevieb (Canon) on Jul 31, 2015 at 00:50 UTC | |
by 1nickt (Canon) on Jul 31, 2015 at 05:06 UTC | |
by Anonymous Monk on Jul 31, 2015 at 07:28 UTC |