Yeah, tried doing that, except all it did was endlessly loop it self. (Oh and Perl_guru has changed to Charlie Somerville)
"Dan Anderson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Check to make sure that the script does not have control-M's at the end of > > every line. That will prevent it from executing. > > FWIW, Windows file formats end all lines with a new line and a control > M. What text editor did you use to edit your script? It is possible > that it is ending all lines in your script with a control M and you do > not even know it. > > You might try using a text editor like Emacs which was originally > available on a Unix (or Unix like) environment, as it may be able to > edit a file without adding the ^Ms at the end of the line. You could > also run a Perl script on your script replacing "\r" with "". > > -Dan > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>