IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 30, 2009, 11:57:40 AM (17 years ago)
Author:
jhoblitt
Message:

update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/arclog/arclog.pl

    r24827 r24945  
    1919use Pod::Usage qw( pod2usage );
    2020
    21 my ($email);
     21my ($debug, $email);
    2222
    2323GetOptions(
    24     'email|s=s'    => \$email,
     24    'debug|d'   => \$debug,
     25    'email|s=s' => \$email,
    2526) || pod2usage( 2 );
    2627
     
    176177        = @$rec{qw( host time device event elapse_time errors )};
    177178    # pack record
    178     $query->execute("$host|$time|$device|$event|$elapse_time|$errors")
     179    my $rec = "$host|$time|$device|$event|$elapse_time|$errors";
     180    $query->execute($rec)
    179181        or die "database error: $!";
     182    warn "inserting $rec\n" if $debug;
    180183
    181184    # do not print filtered records
Note: See TracChangeset for help on using the changeset viewer.