Mr. Shawn H. Corey wrote:
On Tue, 2008-08-05 at 08:57 +0200, rafailowski wrote:
Thx but adding __END__ return me this error, anyway the problem is solve
with a BEGIN block (cf.Rob Dixon).
$ perl test.pl --log-level=debug
Name "main::STDLOG" used only once: possible typo at
/usr/local/share/perl/5.10.0/Log/StdLog.pm line 51
Thx again.
rafailow.
Adding __END__ will not create this warning. It is because no other
statement has STDLOG in it. When you use it, this warning shall go
away. Example:
print {*STDLOG} info "printing to STDLOG\n";
Yes you're right, it' works fine now.
Thx for your help.
rafailow.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/