develooper Front page | perl.perl5.porters | Postings from September 2012

Re: [perl #115048] [PATCH 2/2] Suggest cause of error requiring .pmfile.

Thread Previous | Thread Next
From:
Paul Johnson
Date:
September 25, 2012 18:00
Subject:
Re: [perl #115048] [PATCH 2/2] Suggest cause of error requiring .pmfile.
Message ID:
20120926005951.GB1903@pjcj.net
Looks like I messed up in trying to send these couple of patches.  There
was supposed to be an introduction which said:


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 (did you install the Stuff::Of::Dreams module?) (@INC contains: ...)

I've installed Task::Kensho, Catalyst, Dancer, and all the modules that I
care about with no problems.

The first patch simply enhances the test file and can be applied regardless
of the status of the second patch.

Enjoy.



Now, I have no doubt that I am simply not clever enough to work it out, but it
just seems really hard to submit a couple of patches with a bit of a preamble
as to what they're about.

Here's something that evidently doesn't work:

 $ git send-email --annotate --compose --to perlbug@perl.org -2

What should I have done instead?

-- 
Paul Johnson - paul@pjcj.net
http://www.pjcj.net

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About