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.
In reply to Re: Perl doesn't read whole file
by KurtSchwind
in thread Perl doesn't read whole file
by colonelcrayon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |