Skip Menu |

This queue is for tickets about the Smart-Comments CPAN distribution.

Report information
The Basics
Id: 57062
Status: new
Priority: 0/
Queue: Smart-Comments

People
Owner: Nobody in particular
Requestors: user42 [...] zip.com.au
Cc:
AdminCc:

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



Subject: stderr vs warn
Date: Fri, 30 Apr 2010 10:16:18 +1000
To: bug-Smart-Comments [...] rt.cpan.org
From: Kevin Ryde <user42 [...] zip.com.au>
The docs of Smart::Comments 1.0.4 says it prints to STDERR, but if I'm not mistaken it calls warn(), which makes a difference if warnings are being trapped etc. I'm not sure which of warn() or stderr is better. For some GUI stuff I trap warn to a dialog and might prefer stderr for debugging like Smart::Comments. Perhaps an option to choose between the two, perhaps fairly global so as not have to set it in many places.