Make sure you mark it as executable (chmod a+x filename.pl) so that it knows that it's not plain text.
And yes, the path to perl is the shebang (#!) portion. If, for example, your server's perl binary is located in:
/usr/local/bin/perl
Then the first line of your perl script must be:
#!/usr/local/bin/perl
__________________
Eat antimatter, Posleen-boy!
|