Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: guts of Dynaloader

by syphilis (Archbishop)
on Apr 20, 2012 at 12:13 UTC ( [id://966186]=note: print w/replies, xml ) Need Help??


in reply to guts of Dynaloader

Both use XYZ::XS; and require XYZ::XS; load the dll in exactly the same way (by using LoadLibrary on Windows).

The only difference (afaik) in the loading of the dll is in *when* it happens. If you use XYZ::XS; then the loading is done at script compile-time (whenever the compilation process gets to that compile-time command).
And if you require XYZ::XS; then the loading is done at script run-time (whenever the execution process gets to that run-time command).

Cheers,
Rob

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://966186]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2024-04-23 12:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found