go ahead... be a heretic | |
PerlMonks |
Re^2: Sleep and Perlby flexvault (Monsignor) |
on Dec 16, 2015 at 05:59 UTC ( [id://1150463]=note: print w/replies, xml ) | Need Help?? |
Hello toolic, You may never get to the end of the file if you get more than 100 entries within 10 seconds. I believe the test needs to know the size of the file or the number of records to start with, otherwise you'll never know when you have xx records left. If you know that each record average 100 bytes then...(untested) I think this is similar to the 'pop before email' technique. YMMV. Regards...Ed "Well done is better than well said." - Benjamin Franklin
In Section
Seekers of Perl Wisdom
|
|