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

Bug#587991: perl-policy: /etc/perl missing from Module Path



Package: debian-policy
Version: 3.9.0.0
Severity: minor

Hi,

perl/5.8.0-7 added /etc/perl to @INC:

  * Prepend /etc/perl to @INC to provide a standard location for
    configuration modules:

But this addition has never been documented in the Debian Perl Policy.
I suggest to add /etc/perl to the list of location in the "Module Path"
section.

A simple patch doing so is attached below, but it might be a good idea to
document what "configuration modules" are and what the "etc" tag means (only
"core", "vendor" and "site" are explained above, but none of those matches the
use of /etc/perl).

Regards,
Ansgar

diff --git a/perl-policy.sgml b/perl-policy.sgml
index 3b76b94..8b98ab8 100644
--- a/perl-policy.sgml
+++ b/perl-policy.sgml
@@ -139,6 +139,15 @@
          has been ordered to include these locations in the following
          order:
          <taglist>
+           <tag><var>etc</var></tag>
+           <item>
+             <p>
+               Configuration modules.
+               <example>
+/etc/perl
+               </example>
+             </p>
+           </item>
            <tag><var>site</var> (current)</tag>
            <item>
              <p>



Reply to: