Subject: | "argument is not a module name" improve error please |
Date: | Fri, 11 Jan 2013 16:13:52 -0600 |
To: | bugs-module-runtime [...] rt.cpan.org |
From: | Caleb Cushing <xenoterracide [...] gmail.com> |
argument is not a module name
got this error message but I had no idea where it was coming from. I
think confess might be good enough so that I can tell what line of my
code is causing the problem, but that I can also see that it's coming
from Class::Load and not a ->new statement if I'm doing
load_class('Foo')->new; note: the argument type actually passed was an
array ref, so obviously a problem with my code. I just want to be able
to figure out where that was happening.
--
Caleb Cushing
http://xenoterracide.com