Changeset 747 for trunk


Ignore:
Timestamp:
02/15/17 16:11:31 (8 years ago)
Author:
Kris Deugau
Message:

/trunk

Fix subtle precedence bug that issues a warning as of Perl 5.19.4. Mostly
harmless, but an error precolating up from DBI would have been dropped
instead of shown or logged.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DNSDB.pm

    r745 r747  
    50295029
    50305030##fixme: should probably sent the warning somewhere else
    5031   return $dbh->selectall_arrayref($sql, { Slice => {} }, $args{searchfor}, $args{searchfor})
     5031  my $ret = $dbh->selectall_arrayref($sql, { Slice => {} }, $args{searchfor}, $args{searchfor})
    50325032    or warn $dbh->errstr;
     5033  return $ret;
    50335034
    50345035} # end recSearch()
Note: See TracChangeset for help on using the changeset viewer.