All pastes #615973 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-07-12 11:55 UTC
rendered paste body
if ($output =~ /ResponseTime(.*)msec/) {
        # any shorter way to do this?
        $time = $1;
        $time =~ s/^\s+//;
        $time =~ s/\s+$//;
        print "Time: $time\n";