Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Accessing complied perl on a web server

by Nitrox (Chaplain)
on Dec 17, 2002 at 04:41 UTC ( [id://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("ProgID_of_your_Perl_DLL.app") Obj.CoolRoutine

Update:
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('ProgID_of_your_Perl_DLL.app'); $obj->CoolRoutine();
-Nitrox

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2024-04-24 12:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found