Sign In | Register Now About Bytes | Help | Site Map
Connecting Tech Pros Worldwide

perl library for C++

Question posted by: Peng Yu (Guest) on July 2nd, 2008 06:55 PM
Hi,

I'm wondering what is best perl library for C++.

I found http://www.perl.org/tpc/1998/User_Applications/When%20the%20STL%20Isn't%20Enough/paper.html

But that is too old. I'm wondering what is the most popular one now.

Thanks,
Peng
Ivan Novick's Avatar
Ivan Novick
Guest
n/a Posts
July 2nd, 2008
07:05 PM
#2

Re: perl library for C++
On Jul 2, 11:50*am, Peng Yu <PengYu...@gmail.comwrote:
Quote:
Hi,
>
I'm wondering what is best perl library for C++.
>
I foundhttp://www.perl.org/tpc/1998/User_Applications/When%20the%20STL%20Isn...
>
But that is too old. I'm wondering what is the most popular one now.
>
Thanks,
Peng


What is it you want to do: http://en.wikipedia.org/wiki/XS_(Perl) is a
standard package included with perl for interfacing with C/C++.

Ivan Novick
http://www.mycppquiz.com

Sherman Pendley's Avatar
Sherman Pendley
Guest
n/a Posts
July 2nd, 2008
07:15 PM
#3

Re: perl library for C++
Peng Yu <PengYu.UT@gmail.comwrites:
Quote:
I'm wondering what is best perl library for C++.


For what? Embedding Perl in your C++ app, or extending Perl with an XS
module written in C++? For the former, there's only one libperl, so it
is the "best" by default.

For the latter, the Inline:: set of modules is pretty popular, and
require a bit less grunt work than the traditional ExtUtils::MakeMaker
approach. Have a look at Inline::CPP:

<http://search.cpan.org/~neilw/Inline-CPP-0.25/lib/Inline/CPP.pod>

sherm--

--
My blog: http://shermspace.blogspot.com
Cocoa programming in Perl: http://camelbones.sourceforge.net

Peng Yu's Avatar
Peng Yu
Guest
n/a Posts
July 2nd, 2008
10:25 PM
#4

Re: perl library for C++
On Jul 2, 2:06 pm, Sherman Pendley <spamt...@dot-app.orgwrote:
Quote:
Peng Yu <PengYu...@gmail.comwrites:
Quote:
I'm wondering what is best perl library for C++.

>
For what? Embedding Perl in your C++ app, or extending Perl with an XS
module written in C++? For the former, there's only one libperl, so it
is the "best" by default.
>
For the latter, the Inline:: set of modules is pretty popular, and
require a bit less grunt work than the traditional ExtUtils::MakeMaker
approach. Have a look at Inline::CPP:
>
<http://search.cpan.org/~neilw/Inline-CPP-0.25/lib/Inline/CPP.pod>


I want to embed perl in my C++ app. I couldn't find any more recent
webpage for libperl than the one in my OP. Would you please let me
know whether this library is updated and where to download them?

Thanks,
Peng

Sherman Pendley's Avatar
Sherman Pendley
Guest
n/a Posts
July 3rd, 2008
01:45 AM
#5

Re: perl library for C++
Peng Yu <PengYu.UT@gmail.comwrites:
Quote:
I want to embed perl in my C++ app. I couldn't find any more recent
webpage for libperl than the one in my OP. Would you please let me
know whether this library is updated and where to download them?


It's part of Perl. Have a look at "man perlembed" on any system that
has Perl installed.

sherm--

--
My blog: http://shermspace.blogspot.com
Cocoa programming in Perl: http://camelbones.sourceforge.net

 
Not the answer you were looking for? Post your question . . .
189,799 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).

Latest Articles: Read & Comment
  • Didn't find the answer you were looking for?
    Post Your Question
  • Top Community Contributors