in reply to Re: Re: Re: Making working cross-platform scripts?
in thread Making working cross-platform scripts?
If you've written that with a windows editor that line will probably be:#!/usr/bin/perl
so the system looks for the file "/usr/bin/perl".chr(13) and doesn't find it. If you're ftping the files make sure you transferred the scripts as ascii files. Run a tr -d \\015 <filename.bad > filename.good for good measure#!/usr/bin/perl<carriage return>
|
|---|