vnpandey has asked for the wisdom of the Perl Monks concerning the following question:

Dear Monks.. Is it possible to call fortran programmes through perl?? if no can somebody please tell me what is the conceptual reason for this??

Replies are listed 'Best First'.
Re: fortran!!
by cwest (Friar) on Jul 21, 2000 at 21:55 UTC
    of course
    `fortran.program`; #or system(fortran.program); #or even use Shell; $ENV{PATH}.=':/path/to'; fortran_prog();
    --
    Casey
    
RE: fortran!!
by Russ (Deacon) on Jul 22, 2000 at 01:15 UTC
    I would like to ask a related question: Could someone embed FORTRAN code using the XS/SWIG technique? Since gcc (as I understand it) has a FORTRAN back-end, it could compile fortran to a library just as easily as C, right?

    How might this work?

    Russ
    Brainbench 'Most Valuable Professional' for Perl