in reply to Re: perl script not running properly off web server
in thread perl script not running properly off web server

Another possibility, if he is editing the code under Windows and running under Linux (or vice-versa), it to check if the lines are properly delimited. Win/DOS delimiters can confuse the Perl parser under Linux, and I have no idea what the Linux/UNIX delims would do under Windows.

--rjray

  • Comment on Re: Re: perl script not running properly off web server

Replies are listed 'Best First'.
Re: Re: Re: perl script not running properly off web server
by krujos (Curate) on Jul 31, 2002 at 20:31 UTC
    You can try running dos2unix if you are going windows to linux and see if that helps. It should be a standard tool. if its not you can allways remove them by hand. I beleive they look like ^M at the end of each line.