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

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

From:
Hugo
Date:
March 14, 2000 15:51
Subject:
Re: [PATCH 5.6.0-RC1] more warnings tidy ups
Message ID:
200003142357.XAA03808@crypt.compulink.co.uk
In <5104D4DBC598D211B5FE0000F8FE7EB2067FE59F@mbtlipnt02.btlabs.bt.co.uk>,
paul. marquess@bt.com writes:
:
:  * h2xs.PL now includes a "use warning" in the .pm file it creates.

Can you explain what the benefit of this is?

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

Hugo



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