Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Bareword warning question

by bloonix (Monk)
on Jul 13, 2007 at 01:18 UTC ( #626348=note: print w/replies, xml ) Need Help??


in reply to Bareword warning question

Hello Akoya,

I have just a little suggestion for this code part:
print $LOG _timestamp(), q{ }, join ':', $0, $msg_level, $msg;
Maybe you like to use something like
use Log::Handler; my $log = Log::Handler->new( filename => $logfile, mode => 'append', timestamp => $your_format, prefix => "$0:<--LEVEL-->:" ); $log->warning($msg); # or another msg_level
Kind regards, bloonix

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://626348]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2022-01-19 10:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (55 votes). Check out past polls.

    Notices?