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 sides to it. If you described the problem you're having I can probably help.
--t ----- Original Message ----- From: "Siegfried Heintze" <[EMAIL PROTECTED]> To: "'Perl Beginners List'" <beginners@perl.org> Sent: Friday, April 22, 2005 9:37 AM Subject: Starting Template for calling C from Perl > 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 platform) that does something > trivial in C like print "hello" or adds two numbers or concatenates two > strings that will run out of the box and I can just modify. > > Thanks, > Siegfried > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > <http://learn.perl.org/> <http://learn.perl.org/first-response> > > > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>