View Single Post
  #6  
Old 7th April 2006, 16:03
savimonty savimonty is offline
Junior Member
 
Join Date: Apr 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default The error I see ...

$perl call_Response.pl
############ ERROR ###############

Undefined subroutine &Apache::ASP::config called at /usr/share/perl5/Apache/ASP/Response.pm line 467

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

.... where Response.pm is a asp-perl package containing the method write() and the other methods.

config() is already referenced explicitly in the file Response.pm

So, I do not understand why this is a problem!

Also when I write an ASP scripted in perl and run it using the command asp-perl trial.asp

It works just fine ...
But if I use a normal perl script (NOT asp-perl) to call these methods... it gives me this error.

If necessary I will attach the Response.pm file here. ...

I feel I am making a minor error in declaring the object, $Response.
If so I need to know the correct syntax.

Well, Hope to get a solution to this....!!
Thanks,
Savio.

Last edited by savimonty; 7th April 2006 at 16:14.
Reply With Quote