in reply to Having an issue with -F

The first problem appears to be a bug in 5.6.1, already fixed in 5.8.0.

I think the second problem is just more of the first - I don't think 5.6.1 is handling the -F on the #! line correctly.

With 5.8.0, the #! version gives the same result as the command-line version.

Note that you don't seem to be allowed to separate the argument to -F into a separate argument:

#!/usr/bin/perl -apnF "monkey"
failed even under 5.8.0.

Hugo

Replies are listed 'Best First'.
Re: Re: Having an issue with -F
by Pug (Monk) on Feb 19, 2003 at 23:59 UTC
    Thanks Hugo. I am not surpised that the case of
    #!/usr/bin/perl -apnF "monkey"
    does not work.. It doesn't work on the command line either.
    perl complians that it can't open perl script "monkey": No such file or directory.
    --
    Pug