Again, just use LWP (and possibly Time::HiRes if you want finer than second granularity).
use LWP::Simple qw( get ); use Time::HiRes qw( time ); my $url = "http://..."; my $start = time; getstore( $url, "/dev/null" ); my $end = time; print "Took ", $end - $start, " seconds\n";
In reply to Re^3: capture system output
by Fletch
in thread capture system output
by Galen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |