Re: Questions about XS, C++ and Perl.

2010-08-10 Thread Mattia Barbon
Ryan Dietrich wrote: Exceptions were a piece of cake (Thanks!)... Multiple objects isn't going too well thus far. 1. Since you specifically state that you have to use the "OBJECTS" parameter, does this mean using MYEXTLIB and targeting a shared library is out of the question? OBJECTS lis

Re: Questions about XS, C++ and Perl.

2010-08-10 Thread Ryan Dietrich
Exceptions were a piece of cake (Thanks!)... Multiple objects isn't going too well thus far. 1. Since you specifically state that you have to use the "OBJECTS" parameter, does this mean using MYEXTLIB and targeting a shared library is out of the question? 2. What is My.pm ? This isn't covered an

Re: Questions about XS, C++ and Perl.

2010-08-09 Thread Ryan Dietrich
Wow. This is awesome! Thank you so much for taking the time to reply to my request with so much detailed information. I'm going to sit down and update my examples, and then go back and update my page on perlmonks so this information will be available for anyone else who runs into these issues. T

Re: Questions about XS, C++ and Perl.

2010-08-07 Thread Mattia Barbon
Ryan Dietrich wrote: Hi, Greetings, I've been studying how to interface C++ and Perl using XS. I was aware of this project, and saw that it is doing things that are currently beyond my skillset. I was hoping I could get a few answers. 1. What is the general approach of handling exceptions?

Questions about XS, C++ and Perl.

2010-08-06 Thread Ryan Dietrich
Greetings, I've been studying how to interface C++ and Perl using XS. I was aware of this project, and saw that it is doing things that are currently beyond my skillset. I was hoping I could get a few answers. 1. What is the general approach of handling exceptions? 2. How do you map multiple cust