Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the PDF-Table CPAN distribution.

Report information
The Basics
Id: 38007
Status: resolved
Priority: 0/
Queue: PDF-Table

People
Owner: jbazik [...] cpan.org
Requestors: NEPOS [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.9.3
Fixed in: (no value)



Subject: Suppress warnings
I'm using PDF::Table inside some scripts run by cron. Sometimes i get some warnings concerning table size calculations. This is a bit annoying since cron then sends an email and the user thinks there is some error in the script which isn't. Some possibility would be nice to suppress these warnings at all.
On Tue Jul 29 03:13:50 2008, NEPOS wrote: Show quoted text
> I'm using PDF::Table inside some scripts run by cron. > Sometimes i get some warnings concerning table size calculations. This > is a bit annoying since cron then sends an email and the user thinks > there is some error in the script which isn't. > Some possibility would be nice to suppress these warnings at all.
Thanks for the suggestion. It will be included in the upcoming v1.0
At another user's suggestion, I changed all the warnings to use carp, which goes to stderr. You can suppress these by setting a $SIG{__WARN__} handler if you wish. John
Oh, and that's in 0.9.4, just uploaded to cpan. John