On Sat, Oct 06, 2007 at 04:59:21PM -0400, David Golden wrote: > (b) plenty of modules test warnings by sending stuff to STDERR. > (Probably shouldn't but they do.)
They not only shouldn't, but simply printing to STDERR to test something to do with warnings is a bug. To test a warning, you need to warn() and capture it with $SIG{__WARN__}. -- David Cantrell | A machine for turning tea into grumpiness I caught myself pulling grey hairs out of my beard. I'm definitely not going grey, but I am going vain.