Subject: | wish: better diagnostics for "Can't use an undefined value as a HASH reference at /usr/local/lib/perl5/site_perl/5.8.0/Test/Class.pm line 58" |
Hello, this was my first impression from running Test::Class:
Can't use an undefined value as a HASH reference at /usr/local/lib/perl5/site_perl/5.8.0/Test/Class.pm line 58
It would be nice to have a more informative error message here. Most likely I did something wrong, but this message points to the point in Test::Class where the thing exploded, not where I lit the fuse.
Perhaps Carp or something could help here.
Maybe I'll send a patch if I figure out WTF.
Mark