Jerome Quelin <[EMAIL PROTECTED]> writes:

> using -e flag since -M is the (only?) flag that can't be on the shebang line 
> (too late).

Add -e to that list.

xyzzy% cat > foo.pl
#!/usr/bin/perl -e 'print "shebang line\n"' 
print "script line\n";
xyzzy% perl foo.pl 
Can't emulate -e on #! line at foo.pl line 1.
xyzzy% 


I have actually one time hoped that:
#!/usr/bin/perl -ne ...

Whould be equivalent to:

#!/usr/bin/perl

while(<DATA>) {
  ...
}

__DATA__


Well, it's not.

-- 
Når folk spørger mig, om jeg er nørd, bliver jeg altid ilde til mode
og svarer lidt undskyldende: "Nej, jeg bruger RedHat".
                                -- Allan Olesen på dk.edb.system.unix

Reply via email to