rkg has asked for the wisdom of the Perl Monks concerning the following question:
The file "save.htm" is almost 2 million bytes, a screen of content from WWW::Mechanize ($m->content). The file opens fine in notepad or emacs. The file has multiple lines of data. But the code about simply prints "1" -- it only finds one line, and $_ doesn't seem populated.use strict; use warnings; open (FH, "save.htm") or die; while (<FH>) { print $., $_; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Puzzled about <F>
by Corion (Patriarch) on May 13, 2003 at 17:18 UTC | |
|
Re: Puzzled about <F>
by Thelonius (Priest) on May 13, 2003 at 17:15 UTC | |
|
Re: Puzzled about <F>
by dragonchild (Archbishop) on May 13, 2003 at 17:11 UTC |