I'm trying to use Eric Boesch's library, Math::Integral::Romberg, for the integral of a Gaussian distribution from 0 to 1. However I have some problems about "a reference to the function to be integrated". In my code, I wrote
$area=integral(\&func, 0, 1);
to do the integration, which is...