in reply to Re: Re (tilly) 2: Turning *off* warnings causes the script to fail :(
in thread Turning *off* warnings causes the script to fail :(

Adding command line switches (eg warnings) will fix a DOS line ending problem but won't fix a multiple Perl version issue. Therefore it is not a multiple Perl version issue.

But note that using od is overkill. On Linux if you vi the file, you will see carriage returns as ^M. Also note that rather than guessing where an alternate Perl version might be, you are better off running:

which perl
or by running the script:
use Config; print Config::myconfig();
in various ways.