|CC:||nigelg [...] airg.com,karene [...] airg.com|
Summary: "use strict; use warnings;" are missing in Error.pm after switching namespaces to Error::Simple, which mask the warning I describe below. The problem occurs when one passes no arguments to Error::Simple->new(). The warning that occurs is: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/Error.pm line 280. This line is: my $text = "" . shift; ---- The warning was originally encountered on a redhat box running perl5.8.5 and Error 0.17015. In perl5.8.8 there is no warning unless I add "use strict; use warnings;" above the constructor's declaration. However we all know that strict checking is highly recommended, as it can reveal problems that otherwise would remain silent. I would suggest changing line 280 to: my $text = "" . (shift || ""); --- credit goes to Nigel Gregoire (email@example.com) for finding this.