SPUG: shebang line on Suse (oxymoronically) requires an option
Colin Meyer
cmeyer at helvella.org
Wed Aug 2 08:32:54 PDT 2006
On Tue, Aug 01, 2006 at 11:51:43PM -0700, Michael R. Wolf wrote:
[...]
>
> It doesn't matter what the option is, but I must have an option. My first
> guess was that if the shebang line contained qq{#!/usr/bin/perl\r} (having
> come from a DOS-ish system (my XP laptop) that the processing might be
> confused. I ran the script through dos2unix to make sure that it had
> qq{#!/usr/bin/perl\n}, but that didn't make a difference.
So, what is the symptom when you don't have an option on the #! line?
I just tried a tiny test:
#!/usr/bin/perl
print "OK\n";
on suse 9.2 and 10.1. It executed as expected. I think that there is nothing
special about suse linux's /usr/bin/perl.
-Colin.
More information about the spug-list
mailing list