in reply to Re^2: Interface flap detection in Perl
in thread Interface flap detection in Perl

Which one is line 452?

Replies are listed 'Best First'.
Re^4: Interface flap detection in Perl
by sunnyfedora99 (Novice) on Apr 13, 2011 at 14:39 UTC
     if($f5_iface_status->{interface_status} ne $stat) {

    It's got to do something with '$int_table{key}' from the SELECT statement. I took that out and it works fine. But it makes sense having that in there.

Re^4: Interface flap detection in Perl
by sunnyfedora99 (Novice) on Apr 14, 2011 at 09:09 UTC

    It's deffo with this following line

    my $ret = $sth->execute($int_table{key}, $host);

    it doesn't like  $int_table{key} that in there for some reason. Any clues anyone???