in reply to Writing a Perl extension framework for Inkscape
How closely can you control when perl.exe is launched from Inkscape? If it is just a matter of setting up the correct @INC, you can just launch it by setting up the process environment with PERL5INC=(?)/Inkscape/lib/perl. Alternatively you can launch (whatever) Perl.exe with -Mlib=(?)/Inkscape/lib/perl.
Of course, that Perl might be missing some modules, but at least Strawberry Perl comes with XML::LibXML included and you can easily distribute it with Inkscape or as a bundled package with your framework modules.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Writing a Perl extension framework for Inkscape
by fdesar (Beadle) on Jan 22, 2019 at 14:20 UTC | |
by Lotus1 (Vicar) on Jan 22, 2019 at 18:15 UTC | |
by fdesar (Beadle) on Jan 22, 2019 at 19:47 UTC | |
by Lotus1 (Vicar) on Jan 22, 2019 at 23:06 UTC |