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::Of::Dreams module) (@INC contains: ...)
[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>.]