----- Original Message ----- 
From: "Foo Ji-Haw"
.
.
>
> The Solution:
> 1. Read up on Question 3 on the FAQ. Following steps 1+2+3.
> 2. Within the 'use Inline' config hash, add the following parameter:
> CLEAN_AFTER_BUILD    => 0
> This is an important line.
> 3. Write a simple piece of code that will cause the module to be
> compiled using inline.
> 4. Expect a subdirectory called _Inline/, with a huge bunch of
> subdirectories under it.
> 5. Follow _Inline/build/ until you see the auto/ subdirectory. Copy this
> directory and everything under it to your installation of Perl,
> typically at
> C:/Perl/Site/Lib/. There should be an existing auto/ already.
> 6. Now you need to point your original Perl module to the compiled
> library. Take out the 'use Inline' line. Add the following lines instead:
> require DynaLoader;
> our @ISA = qw (DynaLoader);
> bootstrap <package name>;
>

As regards point 6:

Most modules Export symbols (preferably via @EXPORT_OK) so they will also
'require Exporter;' .

In that case you'll have something like:

our @ISA = qw(Exporter DynaLoader);

(I think I've just  "stated the obvious" .... but I ran out of profundities
years ago :-)

Cheers,
Rob

_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to