in reply to Perl doesn't read whole file
Could you perhaps post up your history.txt file? and the output from the 2nd part. Does it read to a certain line and then die? Or does it die at random times while reading?
Also, just a heads up. perl -w and the open are somewhat deprecated. Try use warnings; instead of the -w. And there is a 3 argument open to use instead of the older 2 argument style.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl doesn't read whole file
by colonelcrayon (Novice) on Dec 02, 2007 at 23:47 UTC | |
by shmem (Chancellor) on Dec 03, 2007 at 00:08 UTC | |
by colonelcrayon (Novice) on Dec 03, 2007 at 00:17 UTC | |
by GrandFather (Saint) on Dec 03, 2007 at 00:12 UTC | |
by colonelcrayon (Novice) on Dec 03, 2007 at 00:21 UTC |