in reply to How @INC can be managed from c code?
perl -Iwhatever -Iwhateverelse -f programfile.pl -- args args args
http://sourceforge.net/p/citrusperl/code/HEAD/tree/tags/PRE_VERSION_2001/execsrc/main.c#l79
https://metacpan.org/source/PLAVEN/Padre-1.00/win32/padre.c
env manipulation par_unsetenv("PERL5OPT"); https://metacpan.org/source/RSCHUPP/PAR-Packer-1.025/myldr/utils.c / https://metacpan.org/source/RSCHUPP/PAR-Packer-1.025/myldr/mktmpdir.c
And here it is runperl.exe by another nameperl scripts executor on Win32, and its cousin Turn your script into binary without a compiler! :-P
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How @INC can be managed from c code? ( runperl.c )
by DrMoisha (Novice) on Apr 03, 2015 at 15:35 UTC |