Hello.
I'm able to create Perl script that uses Inline C and also links to a
precompiled C library, but I'm trying to do something else that I think should
be equivalent:
#!/usr/bin/perl -w
use Inline C => <<ENDC;
#include <myCcode.c>
ENDC
test(2);
I.e., if I paste the contents of myCcode.c in place of the #include, I get the
expected results. I'm trying to get Inline to do that and ignore the fact that
the code comes from a separate file, but it refuses to recognize the functions
in myCcode.c. (Basically, I prefer to avoid compiling the code myself.)
Thanks in advance for any tips, and please forgive the novice. :O)
AndyD
---------------------------------
Looking for last minute shopping deals? Find them fast with Yahoo! Search.