Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Possible scoping issue with Log::Log4perl logger

by talexb (Chancellor)
on Jun 15, 2018 at 21:52 UTC ( [id://1216751]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    {
      Log::Log4perl->init ( $log4perl_config );
    ...
      ..
      $log->info('Some stuff');
    }
    
  2. or download this
    my $log;
    {
    ...
      $log->info('Some other stuff');
      ..
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2024-05-20 16:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found