I am getting the following error when running a Dancer2 app which was running OK yesterday:
Unable to load class for Session component Cookie: namespace::clean does not define $namespace::clean::VERSION--version check failed at /usr/share/perl5/vendor_perl/namespace/autoclean.pm line 15What broke it was my attempt to install Net::SAML2 via cpanm, which failed and I hastily forced it rather than look into the error with a bit more attention... Reinstalling all packages concerned did not help me, and namespace::clean fails to install with:
# Failed test 'module use ok' # at t/00-basic.t line 14. # Failed test 'foo function removed' # at t/00-basic.t line 18. # Failed test 'bar function removed' # at t/00-basic.t line 18. # Looks like you failed 3 tests of 4. t/00-basic.t ............. Dubious, test returned 3 (wstat 768, 0x300) Failed 3/4 subtests # Failed test 'use FunctionWipeout;' # at t/01-function-wipeout.t line 9. # Tried to use 'FunctionWipeout'. # Error: namespace::clean does not define $namespace::clean::VERS +ION--version check failed at /usr/local/share/perl5/namespace/autocle +an.pm line 12.
Lots more errors after that but they all seem to come down to the VERSION check above.
I tried a yum reinstall perl-namespace-clean.noarch and that installs OK but makes no difference.
Unless you guys can offer something better, my next (desparate) step would be to delete all perl5 folders and then start reinstalling perl from yum and cpanm... I really don't want to do that though, even on this dev server.
In reply to trouble with namespace::clean by nikmit
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |