I'm not sure it's a bug! See,
myldr has a pretty critical block between
TAINT and
NOTAINT macros. This means that people who rely on the environment for their Perl setup might have trouble running
static during installation... but I suspect that they're sort of screwed anyway, because
any other thing running in taint mode may similarly break!
Update: on second thought no doubt we can at least issue a warning at build time. Patch coming up...
Update II: Patch follows. Not 100% sure about the wording.
--- Makefile.PL.orig 2007-01-17 09:28:20.000000000 +0200
+++ Makefile.PL 2007-01-17 10:02:15.000000000 +0200
@@ -76,6 +76,16 @@
}
}
+ if ($ENV{PERL5LIB} || $ENV{PERLLIB}) {
+ warn <<'.';
+*** You have extra Perl library paths set in your environment. Please
+ note
+ that these paths (set with PERL5LIB or PERLLIB) are not honored b
+y perl
+ when running under taint mode, which may lead to problems. This i
+s a
+ limitation (by design) of Perl, not of PAR::Packer; but some of t
+he
+ problems may manifest here during installation.
+.
+ }
+
my @bin = ("script/parl$exe", "myldr/par$exe");
push @bin, ("script/parldyn$exe", "myldr/static$exe") if $dynperl
+;
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.