Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Jemplate CPAN distribution.

Report information
The Basics
Id: 87546
Status: new
Priority: 0/
Queue: Jemplate

People
Owner: Nobody in particular
Requestors: ppisar [...] redhat.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.27
Fixed in: (no value)



Subject: Test do not pass because jemplate prunes @INC
Dual-lived Perl modules can be installed in vendor or site paths. This is a case of my Carp module. Then jemplate cannot load Carp because it not in the pruned @INC. Actually the whole idea of bundling all modules into one file is wrong (security and bug fixing obstacles). At least at releasing the distribution. If the huge bundle were built at installation time form system modules, it would be a little bit better.
From: ppisar [...] redhat.com
Dne Pá 02.srp.2013 04:55:48, ppisar napsal(a): Show quoted text
> Dual-lived Perl modules can be installed in vendor or site paths. This > is a case of my Carp module. Then jemplate cannot load Carp because it > not in the pruned @INC. >
This patch stops the prune. -- Petr
Subject: Jemplate-0.27-Do-not-prune-INC.patch
From 616718c4d858a2209c3e6a75b12c2c428589864a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com> Date: Fri, 2 Aug 2013 10:47:50 +0200 Subject: [PATCH] Do not squash @INC MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Dual-lived modules can be in vendor or site path. Signed-off-by: Petr Písař <ppisar@redhat.com> --- jemplate | 6 ------ 1 file changed, 6 deletions(-) diff --git a/jemplate b/jemplate index b7a828b..6c8772b 100755 --- a/jemplate +++ b/jemplate @@ -17,12 +17,6 @@ # jemplate --help use Config; -BEGIN { - @INC = ( - $Config::Config{archlib}, - $Config::Config{privlib}, - ); -} use strict; use warnings; -- 1.8.1.4