David Southern <[EMAIL PROTECTED]> writes:
>
>So, the question: Is there a way that I can make XSUBs availiable to my perl
>interpreter without having to have the .pm file around at all?

Of course.

If you look at what your DynTrans.pm file does it probably does something like

use XSLoader qw(load); XSLoader::load 'DynTrans',$VERSION;

And what XSLoader does is load the module and then calls the XSUB
boot_DynTrans()

which does the newXS() to define the other XS subs in the module.

So the easy way is to setup DynTrans to build as a static extension so that a
DynTrans.a gets built.

Then in your embedding program add a call to boot_DynTrans() to your xs_init()


>_____________________________________________________________________
>This email message, including any attachments, may contain confidential and
>proprietary information for the sole use of the intended recipient. If you
>are not the intended recipient, you are hereby notified that any use,
>copying or dissemination of this message is strictly prohibited. 

This is stupid thing to add to mail sent to an open mailing list.

>If you
>received this message in error, please notify Brooks Automation, Inc.
>immediately by reply email or by calling Brooks US Headquarters at +1 978-262-
>2400. 

Do they fire you ?

>Then delete this message from your system, without making any copy or
>distribution. Thank you.


Reply via email to