xiaoyafeng has asked for the wisdom of the Perl Monks concerning the following question:
Perl has many convenient feature to manipulate string e.g. re. So I embed a perl interpreter in C program and runs fine by far.
But the problem is a perl distribuition(active perl) is too large(about 24M). nobody wants a 20k program with a 24M package. sadly, a warning in embedperl destroy my naive thought:
So I ask here guru for help, is there a easier way to ship minimal perl in my application?(just copy perl executable and CORE directory etc) TIA.Corollary: you can't use Perl from your C program unless Perl has been + compiled on your machine, or installed properly--that's why you shou +ldn't blithely copy Perl executables from machine to machine without +also copying the lib directory.)
I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: how ship perl in my application?
by Corion (Patriarch) on May 11, 2012 at 08:11 UTC | |
by xiaoyafeng (Deacon) on May 11, 2012 at 08:47 UTC | |
by Corion (Patriarch) on May 11, 2012 at 09:04 UTC | |
by xiaoyafeng (Deacon) on May 11, 2012 at 09:28 UTC | |
by Anonymous Monk on May 11, 2012 at 08:53 UTC | |
by xiaoyafeng (Deacon) on May 11, 2012 at 09:23 UTC | |
by Anonymous Monk on May 11, 2012 at 10:51 UTC | |
Re: how ship perl in my application?
by Anonymous Monk on May 11, 2012 at 08:13 UTC |
Back to
Seekers of Perl Wisdom