Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Possible scoping issue with Log::Log4perl logger

by talexb (Canon)
on Jun 15, 2018 at 21:52 UTC ( #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
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? | Other CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2020-12-05 17:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you use taint mode?





    Results (65 votes). Check out past polls.

    Notices?