IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 23635


Ignore:
Timestamp:
Mar 31, 2009, 1:57:41 PM (17 years ago)
Author:
jhoblitt
Message:

complain about obviously corrupted lines

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous/scripts/stats.pl

    r23398 r23635  
    1717foreach my $line (split(/\n/, $data)) {
    1818    my ($time, $method, $duration) = split(/\s+/, $line);
     19
     20    unless (defined $time and defined $method and defined $duration) {
     21        warn "bad line: $line\n";
     22        next;
     23    }
    1924
    2025    push @{$methods{$method}->{time}}, $time;
Note: See TracChangeset for help on using the changeset viewer.