X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/dadaad80525d29e358ffb9e48dcb739c6f3253de..ba9b808c898a556541057ac9f524db2de2a33d77:/doc/bugs/prune_causing_taint_mode_failures.mdwn diff --git a/doc/bugs/prune_causing_taint_mode_failures.mdwn b/doc/bugs/prune_causing_taint_mode_failures.mdwn index bbbdb1633..5fc1d8b75 100644 --- a/doc/bugs/prune_causing_taint_mode_failures.mdwn +++ b/doc/bugs/prune_causing_taint_mode_failures.mdwn @@ -9,9 +9,9 @@ BEGIN failed--compilation aborted at (eval 5) line 130. I've no idea what's happening (hey, I'm a C programmer), but I've hacked prune() to workaround this as follows:
-use Scalar::Util qw(t>inted);
+use Scalar::Util qw(tainted);
 
-sub prune ($) { #{{{
+sub prune ($) {
         my $file=shift;
 
         unlink($file);
@@ -25,5 +25,11 @@ sub prune ($) { #{{{
                         $dir = $1;
                 }
         }
-} #}}}
-
\ No newline at end of file +} + + +> Old versions of perl are known to have bugs with taint checking. +> I don't really support using ikiwiki with the perl 5.8.4 in debian +> oldstable, and would recommend upgrading. --[[Joey]] + +[[!tag patch done]]