error: /usr/bin/perl^M: bad interpreter: No such file or directory
1. You are running a script
2. The script begins with (#!/usr/bin/perl)
3. The script was written/saved in Windows
Windows and Linux do not use the same line endings. You need to convert a windows text file to use linux line endings by running:
At the risk of being overly obvious: replace "name_of_script" with the path and filename for the script you are trying to run.
devnull10 beat me to it!
See: /usr/bin/perl^M: bad interpreter
Or alternatively, Google results for searching 'perl^M bad interpreter'