Keep It Simple, Stupid | |
PerlMonks |
Re: Perl and C++ interfaceby shmem (Chancellor) |
on Oct 26, 2015 at 06:15 UTC ( [id://1145919]=note: print w/replies, xml ) | Need Help?? |
If your application is a separate process, you need some kind of IPC (shared memory, pipes or such - see perlipc). Perl can interface libraries via XS (see perlxs and perlxstut), but not a separate address space. If you want to use perl from within that application, you need an embedded perl (see perlembed).
perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'
In Section
Seekers of Perl Wisdom
|
|