You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by "Vuillemot, Ward W" <wa...@boeing.com> on 2002/04/23 16:50:56 UTC
[SOT] C/F77 Wrapper for Perl
Since I have been unable to use Open3 effectively on my Win32, I am looking
for some alternatives.
BTW, one of my goals is to make the scripts relatively platform independent
-- and therefore I am leaving Open3 and its IPC::Run cousin behind.
I have a set of f77 libraries that I know can be compiled on a variety of
platforms (Win, UN*X, Mac). For now, I have created an executable on my
Win32, whereby it takes STDIN for input and returns results as STDOUT.
Is it possible to write a simple C wrapper to the f77 library, and then link
to Perl as a module?
I have never written a lick of code other than "Hello, World!", and I am not
looking to be an expert in C. I just want to get the libraries up and
functioning. I know this may not be the best place to ask. . .but I thought
others might have a fair amount experience with IPC in its many forms. . .
ANY HELP IS APPRECIATED!
Thanks!
Ward
Re: [SOT] C/F77 Wrapper for Perl
Posted by Ged Haywood <ge...@www2.jubileegroup.co.uk>.
Hi there,
On Tue, 23 Apr 2002, Vuillemot, Ward W wrote:
> Is it possible to write a simple C wrapper to the f77 library, and then link
> to Perl as a module?
Have a look at Inline.pm.
73,
Ged.