in reply to Error: Can't locate Test/Exception.pm in @INC (you may need to install the Test::Exception module) on CPANPLUS

I assumed that by default this is a core module and it would be installed by default but I guess I was wrong.

Why assume when you can easily check? Also, do not assume that just because a module is in core that everyone has it installed. The solution is to declare all of your direct dependencies in the metadata, whether they are currently in core or not.

(Updated: link to previous thread about core modules being absent)

  • Comment on Re: Error: Can't locate Test/Exception.pm in @INC (you may need to install the Test::Exception module) on CPANPLUS

Replies are listed 'Best First'.
Re^2: Error: Can't locate Test/Exception.pm in @INC (you may need to install the Test::Exception module) on CPANPLUS
by thanos1983 (Parson) on Sep 27, 2017 at 09:11 UTC

    Hello hippo,

    Thanks for the link, I did not know how to check the core modules based on each version. Very handy... :D

    Seeking for Perl wisdom...on the process of learning...not there...yet!