in reply to autosplit behaviour with and without F
Changing the shebang from #!perl -apF to #!perl -aF -p fixes it.