Subject: | Tests fails with perl 5.18.0 |
Perl 5.18.0 has changes error message:
$ perl -e 'use parent q{reallyReAlLyNotexists}'
Can't locate reallyReAlLyNotexists.pm in @INC (you may need to install the reallyReAlLyNotexists module) (@INC contains:...
Thus t/parent.t fails.
This is fixed in perl git tree with commit:
commit f7ee53b55241648302d3da2fac688b5a0d595fd7
Author: Paul Johnson <paul@pjcj.net>
Date: Wed Sep 26 02:44:45 2012 +0200
Suggest cause of error requiring .pm file.
Following on from a recent thread I've put together a patch to expand
the error message when a module can't be loaded. With this patch,
instead of:
Can't locate Stuff/Of/Dreams.pm in @INC (@INC contains: ...)
You get:
Can't locate Stuff/Of/Dreams.pm in @INC (you may need to install the Stuff::
[The committer tweaked the error message,
based on a suggestion by Tony Cook. See
<https://rt.perl.org/rt3/Ticket/Display.html?id=115048#txn-1157750>.]
Please apply the change.