Subject: | Error messages reported from strange place |
[16:42] <perigrin> rjbs, Config::INI::Writer reports errors a little
confusingly from validate_input ...
[16:42] <perigrin> property name 'map readonly visiblename2' contains
illegal character at
/opt/local/lib/perl5/site_perl/5.8.8/Mixin/Linewise/Writers.pm line 105
The error is triggered in sub validate_input in Config::INI::Writer via
CARP::croak, but is reported from the Mixin class which is sent me on a
wild goose chase into trying to figure out why the error was coming from
the IO::String->print() rather than where it was really coming from (the
fact that by default I can't have \s in my property names, and I needed
to subclass and override validate_input.
This was on Darwin Ports perl5.8.8, but I suspect it will be true
everywhere.