Wednesday 15 September 2010

windows - Find if Perl executable is portable -



windows - Find if Perl executable is portable -

i'm trying patch programme checked portable version of perl this:

use config; $is_portable = $config{userelocatableinc};

this not work on strawberry perl, , programme failing.

i using perl 5.20.1, 64-bit:

>perl -v:userelocatableinc userelocatableinc='undef';

what can find if current perl portable one, strawberry or not?

that's do. perl -v:userelocatableinc tell if been built utilize relative paths or not.

strawberry not built option, not portable. if need support, you'll have build yourself, though understand activestate's perl has hacks create portable.

i'd consider raising ticket strawberry guys , seeing if should add together alternative build.

windows perl environment-variables strawberry-perl

No comments:

Post a Comment