View Single Post
  #4  
Old 7th April 2006, 07:05
savimonty savimonty is offline
Junior Member
 
Join Date: Apr 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default did not help ...

Hi,

Thanks for the reply ... but this is not the problem I am facing....

I am not trying to run a CGI script!

I am trying to use the Apache::ASP library which is written completely in perl.

So, I want to use this library to run ASP Object calls from another perl script file

For example, consider a perl file : call_Response.pl
######################################
# call_Response.pl
#####################################
# Creating the $Response object

use Apache::ASP::Response; ### i think i am garbling here....

$Response = Apache::ASP::Response; ### here too
$Response->Write("Hello World"); #Prints "Hello World" on the console


## Now this is not just for the $Response Object .... I will need to call other objects also.
## Like the $Server and the $Session object calls.

###################################

Now at the prompt I should get the following

$perl call_Response.pl
Hello World

I hope this fine-tunes the problem.

Thanks.
Savio

Last edited by savimonty; 7th April 2006 at 07:12.
Reply With Quote