From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of ukhas
jean
Sent: 24 August 2006 13:35
To: Active Perl
Subject: importing C code

> Hello All,
>  
> I wanted to import some C code into perl

Kind of depends what you mean my "import" and how much C code, i.e. can
it be rewritten in Perl.

>  ... i understand that i will have to make use of XS and Xsubs ... Can
> anyone point me to its documentation??
>  
> I am unable to locate it ...

That's strange, where are you looking? Did you look at the nice HTML
documentation that Activestate provide? Did you find "Perl Core
Documentation"? If so then surely the links labelled "perlxs" and
"perlxstut" should have looked promising. There are some others around
there that may also be useful.

Also, there are are alternatives, e.g. Inline::C (you can find it on
CPAN), or SWIG (http://www.swig.org/).

In addition, as I believe that you are on a Win32 platform, the module
Win32::API may be worth considering.

HTH

-- 
Brian Raven 


=================================
Atos Euronext Market Solutions Disclaimer
=================================
The information contained in this e-mail is confidential and solely for the 
intended addressee(s). Unauthorised reproduction, disclosure, modification, 
and/or distribution of this email may be unlawful.
If you have received this email in error, please notify the sender immediately 
and delete it from your system. The views expressed in this message do not 
necessarily reflect those of Atos Euronext Market Solutions.

L'information contenue dans cet e-mail est confidentielle et uniquement 
destinee a la (aux) personnes a laquelle (auxquelle(s)) elle est adressee. 
Toute copie, publication ou diffusion de cet email est interdite. Si cet e-mail 
vous parvient par erreur, nous vous prions de bien vouloir prevenir 
l'expediteur immediatement et d'effacer le e-mail et annexes jointes de votre 
systeme. Le contenu de ce message electronique ne represente pas necessairement 
la position ou le point de vue d'Atos Euronext Market Solutions.

_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to