On Sat, Aug 17, 2002 at 08:21:56PM -0400, James E Keenan wrote:
> Whenever I write Perl code, I always enable 'strict' and 'warnings'.  As you
> will notice from the source code
> (http://search.cpan.org/src/JKEENAN/List-Compare-0.13/Compare.pm), I did so
> in writing List::Compare.  It would seem to me that this may be a situation
> where since (a) List::Compare is now production code, and (b) I want to get
> more backward compatibility, I should turn off 'warnings' (and perhaps
> 'strict') in the module and assume that the user is going to use it in the
> script which invokes the module.  What do you think?

If you're pretty sure of List::Compare's stability, then turning off
warnings in distributions would make sense, but turning off 'strict'
won't be neccessary.

Alternatively, you can also put a "use 5.006;" in both Makefile.PL
and the module to signify your use of the warnings pragma.  Which
one makes more sense is up to you, the module author, to decide. :)

Thanks,
/Autrijus/

Attachment: msg47338/pgp00000.pgp
Description: PGP signature

Reply via email to