in reply to Method not found in package?
Not related specifically to your problem, but for heavy duty numerical calculation in perl check out PDL and pdl.perl.org.