Re: perl(strict)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Rich.

-- 
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.
http://libguestfs.org/virt-v2v
--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/packaging





[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux