Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Testing dll/dso using Perl

by Excalibor (Pilgrim)
on Mar 23, 2005 at 09:35 UTC ( [id://441719]=note: print w/replies, xml ) Need Help??


in reply to Re: Testing dll/dso using Perl
in thread Testing dll/dso using Perl

Another possibility is having a look at SWIG http://www.swig.org/ which allows you to easily create interfaces from C and C++ to many languages, including, of course, Perl.

It's easy to use, it has an IDL to describe your code, and creates a .so/.dll you can use from your Perl program as a normal Perl package, unless your code is so diabolical it's really hard to easily map into Perl. In that case, Inline and perlxs are your friends (sort of, anyway).

I guess those are the candidates, as well, if you are trying to test performance of some sort (although I fail now why would you test that from Perl, or which value would it have unless the production environment was similarly through Perl, but I digress...)

Good luck!

--
our $Perl6 is Fantastic;

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://441719]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (5)
As of 2024-03-19 02:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found