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: [email protected] For additional commands, e-mail: [email protected] http://learn.perl.org/
