Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: autosplit behaviour with and without F

by jsprat (Curate)
on Aug 13, 2003 at 15:19 UTC ( #283575=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://283575]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2020-06-04 06:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?



    Results (30 votes). Check out past polls.

    Notices?