Rob Dixon wrote: > yitzle wrote: >> >> OK... I got this script that gets a lot of hits -> generates high >> bandwidth. >> Is there a simple way to check the amount of bytes printed to STDOUT so I >> can track the bandwidth it is generating? > > my $nbytes = tell STDOUT;
tell() usually only works on actual files and only on files that are opened for input (it doesn't work with STDOUT or STDIN on my Linux system.) John -- Perl isn't a toolbox, but a small machine shop where you can special-order certain sorts of tools at low cost and in short order. -- Larry Wall -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/