To find your server's Perl path:
which perl
Common Perl paths:
/usr/bin/perl - Most common/usr/local/bin/perl - Alternative location/bin/perl - Some systemsUpdate the first line of your script with the correct path:
#!/usr/bin/perl