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;
In reply to Re^2: Testing dll/dso using Perl
by Excalibor
in thread Testing dll/dso using Perl
by hiradhu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |