XP is just a number | |
PerlMonks |
Re^2: Perl vs. PHP in streaming a fileby Ven'Tatsu (Deacon) |
on Nov 24, 2004 at 21:36 UTC ( [id://410256]=note: print w/replies, xml ) | Need Help?? |
If your getting that high throughput I'd venture a guess that speed is not your issue. Is your script running on windows? If you are running on Windows you will almost cretanly need binmode(filehandle). I didn't see it in the code you posted. With out it Perl will open the file assuming that it is text and it will likely corrupt it as it's read.
In Section
Seekers of Perl Wisdom
|
|