in reply to Simple Integration using Perl
I found Math::Integral::Romberg - might be of some use.
Otherwise, might be time to take a standard formula for this sort of calculation and implement it in Perl from scratch - as suggested by atcroft.