Changeset 7685


Ignore:
Timestamp:
2004-07-01T13:41:17+12:00 (20 years ago)
Author:
jrm21
Message:

make sure warning/error messages go to $outhandle.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/plugins/DBPlug.pm

    r7683 r7685  
    182182        $callback =~ /[\`]|\|\-/) {
    183183        # no backticks or functions that start new processes allowed
    184         print STDERR "DBPlug: bad fuction in callback\n";
     184        print $outhandle "DBPlug: bad function in callback\n";
    185185        return 0;
    186186    }
     
    325325    # check "$sth->err" if empty array for error
    326326    if ($statement_hand->err) {
    327     print "received error: \"" . $statement_hand->errstr . "\"\n";
     327    print $outhandle "DBPlug: received error: \"" .
     328        $statement_hand->errstr . "\"\n";
    328329    }
    329330
Note: See TracChangeset for help on using the changeset viewer.