Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: Accessing complied perl on a web server

by Nitrox (Chaplain)
on Dec 17, 2002 at 04:41 UTC ( #220448=note: print w/replies, xml ) Need Help??

in reply to Accessing complied perl on a web server

You have the option of "compiling" your perl code into an ActiveX control, then you'll just be providing the client with the created .dll file.

Since you mentioned an IIS server, it would be very simple to throw together small ASP pages to call your "cool" routines.

Dim Obj as Object Set Obj = CreateObject("") Obj.CoolRoutine

It was late when I first posted this so forgive me for not providing a pure Perl solution. This is PERLmonks after all and it ate at me so bad that I climbed back out of bed to add this to my post:

Once the .dll is on the server and registered properly you can call it via you Perl CGI scripts by adding:

use Win32::OLE; my $obj = Win32::OLE->CreateObject(''); $obj->CoolRoutine();

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (1)
As of 2023-05-28 03:48 GMT
Find Nodes?
    Voting Booth?

    No recent polls found