----- Original Message -----
From: "Brian Ingerson" <[EMAIL PROTECTED]>
> Here is the basic template:
>
> use warnings;
> use strict;
> use Inline C => DATA,
> LIBS => '-L... -l...';
> # Perl code goes here
> __END__
> __C__
> /* C code goes here */
>
By way of explanation (to both Brian and Richard) here is the template that
I provided when Richard first posted to perl-win32-users. (It assumes that
'mylib.lib' is already in the 'Lib' path.)
use Inline (C => Config =>
LIBS => '-lmylib',
);
use Inline C => <<'END_OF_C_CODE';
/* C code */
END_OF_C_CODE
#perl code
So, Richard, you *can* do it either way .... as long as you get it right :-)
I don't have any opinion on which way is best. I just stick with the first
format I find that works.
Cheers,
Rob