See How do I post a question effectively?
I'm guessing your line endings are not LF or CRLF, along with your shebang, so try
#!/usr/bin/perl -- die $^X;
I think I remember seeing this once with CR line endings, but I'm not gonna check :)
In reply to Re: perl file doesn't execute
by Anonymous Monk
in thread perl file doesn't execute
by subhash_fire
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |