gemoroy has asked for the wisdom of the Perl Monks concerning the following question:
So..$sql->execute returns errstr and check() than takes it and parses it, and based on a parsing result returns a value..it works ok, but execute returns errstr value to STDOUT, but in some situations i dont want it to be printed. So..are there some ways of handling if STDOUT is accesed by a specific func?... $sql->execute; if(check($sql->errstr) == 0){return 0;} switch ($i){...}
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: STDIO handleing
by almut (Canon) on May 10, 2009 at 08:11 UTC | |
by sgifford (Prior) on May 11, 2009 at 04:00 UTC | |
by Anonymous Monk on May 11, 2009 at 04:09 UTC |