develooper Front page | perl.perl5.porters | Postings from February 2004

Re: [perl #25268] h2xs does not create VERSION stubs

Thread Previous | Thread Next
February 6, 2004 12:44
Re: [perl #25268] h2xs does not create VERSION stubs
Message ID:

Michael G Schwern wrote:
> On Fri, Feb 06, 2004 at 10:26:16AM -0600, david wrote:
> I also don't think its wise to start throwing in commented out "just in case 
> you might need it down the road" modules uses into h2xs templates.  How many 
> modules have never needed more testing?  We should throw "# use Carp::Assert" 
> in there.  And people always forget to check their opens so there should be 
> a "# use Fatal qw(open close)".  Pick a pet peeve.  Its a slippery slope 
> that shouldn't be started down.  Keep the templates sparse and simple,
> throw anything not immediately useful out, so the first time module author 
> that's going to use them doesn't get confused.
> A perlfaq entry sounds more like the solution to your problem.

How about a module-authors BCP document, and a heavy module template
that includes stubs for all best current module-authoring practices?

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About