walkingthecow has asked for the
wisdom of the Perl Monks concerning the following question:
My thought here was to utilize /etc/skel. As root, I installed Perlbrew and then preceded to build a few versions of Perl. I copied the perl5/ folder to /etc/skel and then added a user. I logged in as the new user, wrote a simple script and tried to run it, but I get this error: "Can't locate strict.pm: Permission denied at /tmp/test.pl line 2." Ah, silly me, I compiled as root and so @INC now contains paths such as '/root/perl5/perlbrew/perls..." (you get the idea).
So, now I am stuck wondering how exactly I would accomplish this. Any ideas?