in reply to using command line autosplit option
The -p and -n flags are mutually exclusive (you want the later in this case). See perlrun.
The cake is a lie. The cake is a lie. The cake is a lie.