[Fedora-packaging] perl(strict)

Richard W.M. Jones rjones at redhat.com
Thu Jul 4 10:49:30 UTC 2013

On Thu, Jul 04, 2013 at 09:55:25AM +0100, Paul Howarth wrote:
> On 04/07/13 08:49, Christopher Meng wrote:
> >Well, then just write them up in the guidelines, I follow the rules.
> https://fedoraproject.org/wiki/Packaging:Perl#Perl_Requires_and_Provides
>   "It is recommended to buildrequire core modules explicitly,
>    because they can move between sub-packages or disappear
>    from core perl."

'use strict' and 'use warnings' are implemented in the interpreter.

There exists 'strict.pm' and 'warnings.pm' modules, but all they do is
to set internal compiler flags, causing the interpreter to emit the
errors/warnings as it processes the code.  They are just thin wrappers
and splitting them off from core perl would make no sense.


Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.

More information about the packaging mailing list