Chris Faulkner wrote:
Thanks for that. IN my perldoc, I am getting some characters - "a" . What
should they be ?

               use Inline C => Config => LIBS => a-lghttpa;
               use Inline C => "code ...";

or

use Inline C => "code ...", LIBS => a-lghttpa;

Thanks

Chris


I would do it as follows:


use Inline (CPP => Config =>
#Or maybe just (unsure): use Inline (C => Config =>
            LIBS => '-L/your/lib/path -lyour_import_lib',
            INC  => '-I/your/inc/path/to/your_header_file',
#Plus any other config directives - eg, to see build progress:
            BUILD_NOISY => 1,
           );

use Inline CPP => <<'EOC';
#include <your_header_file>

// Your inline code

EOC

# Your perl code

Cheers,
Rob
--
Any emails containing attachments will be deleted from my ISP's mail server before I even get to see them. If you wish to email me an attachment, please provide advance warning so that I can make the necessary arrangements.




Reply via email to