Re: Taking trace () to the next level ...

"H.Merijn Brand" <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase.devel
Message-ID <[email protected]>
On Thu, 21 Aug 2008 14:11:20 +0200, "H.Merijn Brand" <[email protected]> wrote:

> »	"1|4"		Combination of a DBI debug level and a
> 			driver debug level

This currently leads to unexpected results:

$ perl -MDBI -wle'for(1,0,"1|0","0|4"){DBI->trace($_);print DBI->trace}'
    DBI 1.607-nothread default trace level set to 0x0/1 (pid 21604) at -e line 1
1
0
0
    DBI 1.607-nothread default trace level set to 0x0/4 (pid 21604) at -e line 1
4
    -- DBI::END ($@: , $!: )

Same if I use the alternative form with a , instead of a |

-- 
H.Merijn Brand          Amsterdam Perl Mongers  http://amsterdam.pm.org/
using & porting perl 5.6.2, 5.8.x, 5.10.x, 5.11.x on HP-UX 10.20, 11.00,
11.11, 11.23, and 11.31, SuSE 10.1, 10.2, and 10.3, AIX 5.2, and Cygwin.
http://mirrors.develooper.com/hpux/           http://www.test-smoke.org/
http://qa.perl.org      http://www.goldmark.org/jeff/stupid-disclaimers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.