On 2013-01-26 04:52, Rajeev Prasad wrote:
i have a lot of data coming/pouring in [...] I want to stop writing after certain size is written (say 1gb). [...] I am worried I am doing too many stat [...]
For a close approximation, you can just sum the length of the input data. $written += length($line); -- Ruud -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/