Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re^5: Import constants?

by almut (Canon)
on Aug 05, 2010 at 13:14 UTC ( #853130=note: print w/replies, xml ) Need Help??

in reply to Re^4: Import constants?
in thread Import constants?

From a quick look at the code, I would say try replacing line 277 in DBIx/Log4perl/

$sth->_dbix_l4p_perl(2, # line 277 sub {Data::Dumper->Dump( [$res], ["fetchrow_hashref($h->{dbh_no}.$sth->{private_DBIx_st_no} +)"])}) if ($h->{logmask} & DBIX_L4P_LOG_OUTPUT);


$sth->_dbix_l4p_debug($h, 2, # line 277 ...

AFAICT, there is no method _dbix_l4p_perl in any of the related packages (while there are similarly named ones like ..._debug, ..._info, etc.).  No guarantees, though (untested).

Replies are listed 'Best First'.
Re^6: Import constants?
by DreamT (Pilgrim) on Aug 05, 2010 at 15:22 UTC
    ...and of course it worked:-) Thanks a lot!
    Should I file a bug report to the author about this?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://853130]
[Corion]: tye: Hmm - you mean what who am i outputs?
[Corion]: (that should be getlogin()? )
[Corion]: (which apparently even is a Perl function, I didn't know that, so thank you for making me see that ;) )
[Corion]: Yeah, I just did su -; perl -wle "print getlogin" and it still printed corion

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (8)
As of 2017-06-23 18:45 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (554 votes). Check out past polls.