develooper Front page | perl.perl5.porters | Postings from April 2003

Behaviour of the -F flag on the shabang-line

Thread Next
From:
Shlomi Fish
Date:
April 1, 2003 23:24
Subject:
Behaviour of the -F flag on the shabang-line
Message ID:
Pine.LNX.4.33L2.0304021021260.15154-100000@vipe.technion.ac.il

Hi!

I noticed that when I run a program (perl test.pl) whose shabang line ends
with "-F''", perl croaks on me, with some obscure error for versions
before 5.8.0. Is it a bug in those versions? Is it a bug in Perl 5.8.0?

For example take:

<<<
#!perl -0paF''
$l=scalar(grep{$_ eq"*"}@F);
s!NUM!$l!g
>>>

Regards,

	Shlomi Fish


----------------------------------------------------------------------
Shlomi Fish        shlomif@vipe.technion.ac.il
Home Page:         http://t2.technion.ac.il/~shlomif/

My opinions may seem crazy, but they all make sense. Insane sense, but
sense nonetheless.



Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About