good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: Buffered IO and un-intended slurpingby Wiggins (Hermit) |
on Jan 02, 2010 at 14:31 UTC ( [id://815299]=note: print w/replies, xml ) | Need Help?? |
There was no mixing of buffered and unbuffered on a file. It all started out buffered; after the lost positioning I converted all the IO calls to unbuffered for that file. 41 is the record size... 40 bytes for the SHA1, 1 byte for the newline .... 40+1=41. I never even touch the $/ value in the program And keep in mind that this happened just 1 in a 1000 times this module was called. It is always better to have seen your target for yourself, rather than depend upon someone else's description.
In Section
Seekers of Perl Wisdom
|
|