Starting Template for calling C from Perl

2005-04-22 Thread Siegfried Heintze
I was looking at "Programming Perl" trying to understand how to write OS vendor neutral C functions to be called by perl and felt a little overwhelmed (as usual when reading that book). Can someone recommend a template that works with windows/MSVC/nmake or Cygwin/GCC/make (unix clone for windows p

RE: Starting Template for calling C from Perl

2005-04-22 Thread Siegfried Heintze
Subject: Re: Starting Template for calling C from Perl I don't think there are any such examples besides the manual. There are generally clear warnings as to why not to try to do the c code from scratch. Either work with the xs system directly, or try http://www.swig.org which has good and bad sid

Re: Starting Template for calling C from Perl

2005-04-22 Thread toolscripts
e having I can probably help. --t - Original Message - From: "Siegfried Heintze" <[EMAIL PROTECTED]> To: "'Perl Beginners List'" Sent: Friday, April 22, 2005 9:37 AM Subject: Starting Template for calling C from Perl > I was looking at "

Re: C from Perl

2002-06-18 Thread John W. Krahn
"Shishir K. Singh" wrote: > > Hi, Hello, > I have a C program. In there is a function that I need > for perl. This is the first time I am dealing with the > C / Perl Interface. Is there any detailed reading material > on how it's done ?? Any guidance would be highly appreciated. You _might_ b

RE: C from Perl

2002-06-18 Thread Ovid
--- "Shishir K. Singh" <[EMAIL PROTECTED]> wrote: > It's an custom function in a program. It has relevance to what I am doing and I >don't have the > heart to translate it in perl right now:) (it's a big function). I was hoping maybe >I could > perhaps adapt it to be called from the perl program

RE: C from Perl

2002-06-18 Thread Shishir K. Singh
or that in Perl. -Original Message- From: Nikola Janceski [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 18, 2002 10:06 AM To: Shishir K. Singh; [EMAIL PROTECTED] Subject: RE: C from Perl What's the C function? Is it something standard in C? Or did you/someone write it? and the big questi

Re: C from Perl

2002-06-18 Thread Chas Owens
On Tue, 2002-06-18 at 09:57, Shishir K. Singh wrote: > Hi, > > I have a C program. In there is a function that I need for perl. This is the first >time I am dealing with the C / Perl Interface. Is there any detailed reading material >on how it's done ?? Any guidance would be highly appreciate

RE: C from Perl

2002-06-18 Thread Nikola Janceski
OTECTED]] > Sent: Tuesday, June 18, 2002 9:58 AM > To: [EMAIL PROTECTED] > Subject: C from Perl > > > Hi, > > I have a C program. In there is a function that I need for > perl. This is the first time I am dealing with the C / Perl > Interface. Is there any detaile

C from Perl

2002-06-18 Thread Shishir K. Singh
Hi, I have a C program. In there is a function that I need for perl. This is the first time I am dealing with the C / Perl Interface. Is there any detailed reading material on how it's done ?? Any guidance would be highly appreciated. Thanks Shishir -- To unsubscribe, e-mail: [EMAIL PROTEC