ian reinhart geiser on Mon, 4 Feb 2002 17:00:28 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Writeing Perl Modules in C


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 04 February 2002 10:24 am, you wrote about Re: [PLUG] Writeing Perl 
Modules in C:
> On Mon, Feb 04, 2002 at 10:09:32AM -0500, ian reinhart geiser wrote:
> > 	I am not a big perl guy but I know quite a few of you guys are.  For a
> > project I need to write a perl module in C/C++.  Do you have any docs or
> > examples to do this?
> >
> > 	For the KDE project we are adding perl support for our IPC layer (DCOP)
> > so you can control and script KDE applications via perl.  So far we
> > support shell and Python, but perl is sorely missing.  Our current
> > implementation is using SWIG but the bindings are becoming a real hazard
> > to maintain, when they are in reality very simple.
> >
> > 	If any of you guys have experience writing bindings in these languages
> > please let me know.
>
> Take a look at the Inline::C and Inline::CPP modules on CPAN.  They
> allow you to embed C and C++ code directly in a Perl script without
> having to use SWIG or XS.  Here's a simple example, taken from the
> Inline::CPP readme file:

Very cool, I will take a look at it.  If all goes well, by the end of the week 
i should have scripting support for KDE in python, perl, ruby and php.

For anyone who is interested this is very similar to scripting Win32 
applications with COM.  Only cooler cause it is linux ;)  I will have some 
demos after the meeting for all interested.

- -ian reinhart geiser

- -- 
:-- Ian Reinhart Geiser --:
GPG Key: D6A6 7E16 13A9 B5A7 9E18 D1A7 3F2E B64D 19BC 76F8
===========================================================
===========================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8Xq6DPy62TRm8dvgRAkFSAJ4mI9+MQ9VbAlaNvSZWRvFOGFjB5wCeLs3r
LHfxu9vatSzxZWWI17UGitw=
=mJ/9
-----END PGP SIGNATURE-----


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug