I\'m trying to run a sh script and get the following error on Mac:
sh
/usr/bin/perl^M: bad interpreter: No such file or directory
How
An alternative approach:
sudo ln -s /usr/bin/perl /usr/local/bin/perl`echo -e '\r'`