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