Re: Questions about Inline::C



Thus spoke January Weiner (on 2006-09-28 12:25):

I am wondering, however, how complicated it is to link an existing C
library to Perl. I am sure there are dozens of examples for that, if you
know of a good one, I would love to see how it works...

OK, I see your point now. You could give
a link option afaik by :

use Inline C => Config => LIBS => '-L/your/path -lyourlib';

.... according to the "Inline" docs

Did you think about PDL?

==>
http://pdl.sourceforge.net/PDLdocs/API.html#creating_a_piddle_in_c

Regards

Mirco

.



Relevant Pages

  • Re: Perl inline function
    ... an interface between Perl and C modules ... Inline C, like above, but "really inline" ... PDL (Perl Data Language) ...
    (comp.lang.perl.misc)
  • Re: Perl::Inline compiling problems
    ... use Inline; ... void dumb3() { ... Running 'perl try.pl' produces: ... The source file needs to be in a separate directory from ...
    (comp.lang.perl.misc)
  • Calling External DLL functions in Perl using Inline
    ... I am trying to call a DLL function from Perl using Inline as follows ... InlinetestLib is a test dll with 1 exported function fnInlinetestLib() ... mkdir blib\lib ...
    (comp.lang.perl.modules)
  • Re: Windows: Perl:Inline
    ... > A problem was encountered while attempting to compile and install your ... The guys on the inline mailing list ... Are you running ActiveState perl? ...
    (comp.lang.perl.modules)
  • RE: Perl equivalent of "sed -f" or "awk -f"
    ... I'd like to apply a series of inline edits to a file in Perl. ... commandfile inputfile", however, I could not find an equivalent in Perl. ...
    (perl.beginners)