Well... let's assume you've read the perlembed man page. I've never stuck 
perl into C++ - I have stuck C into perl. It's not terribly hard to work 
with perl from C or C++ so *if* you are up to it you can do things that 
way. The thing I wonder about is why you are even doing this. Is this 
"rogue wave" thing the C++ library to get to your database and you are 
avoiding "rogue wave" by accessing your db from perl? Is that the idea? 
Regardless, you may want to take a look at my DominoPerl page at 
http://www.greentechnologist.org/wiki/wiki?DominoPerl and especially the 
correspondence section. There are some other resources on perl XS that I 
haven't put into the WikiWiki just due to NotEnoughTime.

The one thing that that sticks in my head is that you could turn this into 
a real nightmare if you wanted to. Make *darn* sure you've architected 
your application correctly especially considering this hybrid you are 
using.

Josh




"abhishek srivastava" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
07/18/2002 12:12 AM

 
        To:     [EMAIL PROTECTED]
        cc: 
        Subject:        invoking perl from c++


Hello All,

We are wrinting a c++ program which does a lot of db activity. The problem 

is that the library which we are using "rogue wave" is very very expensive 

and has a very stringent licensing policy.

I have writting DB programming in perl and have found it to be very easy.

I can call a perl program from a c++ application ? if yes, then I can 
write 
the DB logic in perl and use in from c++.

what are the advantages and disadvantages of this approach?

regards,
Abhishek.


_________________________________________________________________
Join the world's largest e-mail service with MSN Hotmail. 
http://www.hotmail.com

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



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

Reply via email to