PERL5LIB setting question
[ikiwiki] / doc / forum / PERL5LIB__44___wrappers_and_homedir_install.mdwn
1 What is the way to tell wrappers that PERL5LIB should include ~/bin directories?
2
3 Having this in the wiki.setup doesn't help anymore:
4
5         # environment variables
6         ENV => {
7           PATH => '/home/user/bin/bin:/usr/local/bin:/usr/bin:/bin:/usr/games:/home/user/ikiwiki/usr/bin/:/home/user/ikiwiki/usr/sbin/:/home/user/bin/bin/:~/bin/bin/',
8           PERL5LIB => '/home/user/bin/share/perl/5.10.0:/home/user/bin/lib/perl/5.10.0'
9         },
10
11 Or at least I get CGI errors and running ikiwiki.cgi manually fails too:
12
13         Use of uninitialized value $tainted in pattern match (m//) at /usr/share/perl5/IkiWiki.pm line 233.
14         Argument "" isn't numeric in umask at /usr/share/perl5/IkiWiki.pm line 139.
15         Undefined subroutine &IkiWiki::cgierror called at /home/user/bin/bin/ikiwiki line 199.
16
17 Server has an older ikiwiki installed but I'd like to use a newer version from git, and I don't have root access.