http://qs321.pair.com?node_id=283575


in reply to autosplit behaviour with and without F

I get the same thing on a 5.6.0 installation, but not on 5.8.

Changing the shebang from #!perl -apF to #!perl -aF -p fixes it.

Replies are listed 'Best First'.
Re: Re: autosplit behaviour with and without F
by Jasper (Chaplain) on Aug 15, 2003 at 12:10 UTC
    Changing the shebang from #!perl -apF to #!perl -aF -p fixes it.

    Not for me, it doesn't. Deparse reads the -aF -p thing as:

    split(/\s+/, $_, 0);

    So it ignores the -p bit totally. That's not so good. -p -aF, on the other hand, seems fine.

    Jasper