At first sight it seems to work though I still have to find out how to make this the beginning of all the scripts.#!/usr/bin/perl if (not $ENV{PORTABLE_XL_PERL}) { require FindBin; local $ENV{PORTABLE_XL_PERL} = 1; local $ENV{PERL5LIB} = ''; local $ENV{PERLLIB} = ''; exec("$FindBin::Bin/perl", $0, @ARGV); } print $^X;
In reply to Re: scripts in relocatable perl
by szabgab
in thread scripts in relocatable perl
by szabgab
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |