Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

log4perl and efficiency

by erwan (Sexton)
on Sep 12, 2011 at 16:46 UTC ( [id://925513]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
            if ($self->{logger}->is_trace()) { 
                $self->{logger}->trace("total NbObsThis $i=$nbObservedThis
    +NGram->[$i]; nbObsAll $i=$nbObservedAllNGrams->[$i]; total=$totalObse
    +rvedAll; nbExpected $i=$nbExpectedThis[$i]; chisq = $chiSquare[$i]");
    + 
            }
    
  2. or download this
            
    if ($loggingOn) {
    $self->{logger}->trace("total NbObsThis $i=$nbObservedThisNGram->[$i];
    + nbObsAll $i=$nbObservedAllNGrams->[$i]; total=$totalObservedAll; nbE
    +xpected $i=$nbExpectedThis[$i]; chisq = $chiSquare[$i]"); 
            }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://925513]
Front-paged by tye
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2024-04-19 20:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found