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

I had a problem that was causing perl to throw error messages like that a while back when transfering perl scripts from winME to my freesco linux router. After pulling my hair out for a bit I realized that I was transfering them as text instead of binary. When I transfered them using binary (using ftp) everything worked fine.

HTH
Daeve

  • Comment on Re: Re: Re: Making working cross-platform scripts?

Replies are listed 'Best First'.
Re: Re: Re: Re: Making working cross-platform scripts?
by thor (Priest) on Jul 03, 2003 at 04:58 UTC
    Hmmm....to me this is counter-intuitive. ftp in ASCII mode (among other things I'm sure) translates line endings to the local notion of line ending. As such, an ASCII transfer should be more portable when dealing with something like a perl script. That is, unless you've got some compiled components, but I'd expect those to not work at all.

    thor