Skip Menu |

This queue is for tickets about the Log-WarnDie CPAN distribution.

Report information
The Basics
Id: 39186
Status: resolved
Priority: 0/
Queue: Log-WarnDie

People
Owner: NHORNE [...] cpan.org
Requestors: skandranon [...] gmx.at
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.05
Fixed in: 0.06



Subject: printf to STDERR crashes program while Log::WarnDie is active
Hi, first: thanks for providing this great module! That's what I have been looking for for several years now (not very intensively, however). I found that while Log::WarnDie is active, printf(STDERR xxxxxx) will crash the program, because Log::WarnDie does not have a method PRINTF, while print(STDERR sprintf(xxxx)) does work as expected. Find one possible solution (added method PRINTF, adapted from PRINT) in the attached file. It may not be the prettiest solution, since I'm not at all a perl expert, but it does seem to work for me. Kind Regards, Frank
Subject: WarnDie.add
Download WarnDie.add
application/octet-stream 774b

Message body not shown because it is not plain text.

Would you please give a short sample program so that I can reproduce and try to fix?
One thing: rather than printf (STDERR 'thing') you should be using printf STDERR 'thing';
Should be fixed in 0.06. Please test.