develooper Front page | perl.perl5.porters | Postings from March 2000

RE: [PATCH 5.6.0-RC1] more warnings tidy ups

March 15, 2000 04:02
RE: [PATCH 5.6.0-RC1] more warnings tidy ups
Message ID:
From: Hugo []
> In <>,
> paul. writes:
> :
> :  * h2xs.PL now includes a "use warning" in the .pm file it creates.
> Can you explain what the benefit of this is?

For the same reason we put a "use strict" at the top of the .pm file that
h2xs generates. We are trying to encourage good coding practice. 

> Independently of that, is there any reason not to replace the 'use Carp'
> in with a require() in sub warn {}?

None than I can think of. Does it make much of a difference?

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