I  am new to perl, so this may be a dumb question.

I have written a perl program that reads firms 10Ks (their financial 
disclosure) looking for their total assets. Some of the files are in html, 
so I use HTML::TreeBuilder and HTML::TableContentParser. Some of the files 
are in text, so I use a regular expression to find the row that says "total 
assets" and then scans across to find the number. I have copied the files 
to my hard disk to speed up the process. The program searchs through each 
file sequentially, then writes out a line of output for each file. The 
program crashes when the outfile reaches 32,768 bytes. I have changed the 
file files I feed the program in case this is a problem, and it still 
crashes at 32,768 bytes.

I am running the perl program through a dos window (cmd.exe window) under 
Windows Vista. If there is a smarter way to do this, I'd love to hear. The 
output file does not contain any data until the program crashes. I included 
the command
$|++ which I thought would cause the print buffer to flush to the output 
file -- but this doesn't seem to be working

If there is other info that I should add, please let me know. Thanks.

Mitchell


_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to