Forum Moderators: open

Message Too Old, No Replies

Calling perl from ASP

is this something I can do?

         

too much information

6:13 am on Jan 23, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I've tried Server.Execute() but all I get is errors. should I create a dummy HTML file that handles the call and read that file with the Server.Execute function?

I'm really confused. Any tips on calling Perl from ASP and storing the results in a varable?

aspdaddy

11:24 am on Jan 23, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Cant you just response.redirect to a page that uses perl?

>storing results in a varable
Hidden form values?

too much information

1:44 pm on Jan 23, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



maybe I should give more details on what I'm trying to do.

I created a script in asp that pulls all of the image tags from a specified page. the images are then going to be fed to the perl script to check for a watermark, then if the watermark is found, the image name and location will be saved to a database for checking later.

I'm not sure if classic ASP can manipulate image files which is why I opted for perl.

I wouldn't mind the perl script spiting out it's results to the screen, but I am working on automating this thing so it would be nice to be able to get the results back.

From what I understand the Server.Execute stops the current script, runs the one specified then returns to finish the original script. That's why I thought it would be a good option.

aspdaddy

9:43 am on Jan 25, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Is the language set to perl on the page you are transfering to?

<%@ LANGUAGE =PerlScript %>