in reply to Re: Re: Re: Making working cross-platform scripts?
in thread Making working cross-platform scripts?

to follow up on that - one elephant trap in the w32<=>unix conversion is first line:
#!/usr/bin/perl
If you've written that with a windows editor that line will probably be:
#!/usr/bin/perl<carriage return>
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