in reply to Re: Class / package weak association
in thread Class / package weak association
Yes, this. With the caveat that require $class won't work. Use Module::Runtime or eval "require $class". (I know eval on untrusted input is bad, but you're already doing eval on the Data::Dumper output, so it doesn't make things worse in this case.)
|
|---|