in reply to How to run C object code in PERL
There are many ways to solve this. I would probably use system in this case.