in reply to Re: Re: Reading data from a document.txt
in thread Reading data from a document.txt

  1. Are you running these scripts on different machines? They show perl as being in different places.
  2. Add a -w to your #! lines.
  3. use strict;
  4. Indenting your code makes it much easier to read.
  5. You didn't tell us what you want to accomplish, so we can't help you do it.
  6. You forgot to ask a question.

Replies are listed 'Best First'.
Re: Re: ALL MY SCRIPT
by jsprat (Curate) on Jun 12, 2002 at 18:07 UTC
    7. open LOG, '<messages.txt'or die "open failed: $!";
    8. If this is from the book, get a different book!