in reply to Running fortran in perl

Compile the fortran functions to object files with a fortran compiler, link them to a shared library, write C declarations for the publically exported functions (you may need to use some declaration modifier specific to your C compiler for this, because the calling conventions of fortran functions can be different from that of C functions), and use these C functions via XS.

Alternately, you can use Inline::C instead of XS for some loss of flexibility.