dos2unix myscript.pl
chmod 755 myscript.pl
./myscript.pl

try that