Re: Calling $Response->Write from perl

2006-04-14 Thread savimonty
Joshua Chamas wrote ... >If you want more fine grain control, you can look into how it executes, >and the core of this is: > >$r = Apache::ASP::CGI->init($file, @script_args); >$0 = $file; # might need real $0 in $Config >eval $Config; >$@ && die("can't eval config error: $@"); >$r->dir_config->

RE: Calling $Response->Write

2006-04-11 Thread John Drago
ng it wasn't designed for, so you will have to expect unexpected results. > -Original Message- > From: savimonty [mailto:[EMAIL PROTECTED] > Sent: Monday, April 10, 2006 7:49 AM > To: asp@perl.apache.org > Subject: Re: Calling $Response->Write > > >

Re: Calling $Response->Write

2006-04-10 Thread savimonty
Hey thanks, We are getting there THANKS A LOT ... But i am facing an error Guess you can guide me ...!! Well here is the input file !! # [ INPUT ] # # input.pl use Apache::ASP; use CGI; my $r = new CGI; my $asp = Apache::ASP->new($r); my $Response = $asp->{Resp

Re: Calling $Response->Write

2006-04-10 Thread Fagyal Csongor
Hi Savio, Okay, sorry that I misunderstood you. I think you can do what you want - as the matter of fact, I used Apache::ASP once as a "templating engine". It's not exactly what you are looking for, though... What I know is that you can create an Apache::ASP instance like my $ASP = Apache::

Re: Calling $Response->Write

2006-04-10 Thread savimonty
Well, thanks again, I am not trying to run an ASP script...!! I know how to do that...!! I know that the ASP objects are created for me once the deelimiters are encountered!! I want to use the ASP objects from a perl script, I want to use them raw. I hope you understand me now..!! Thanks

Re: Calling $Response->Write

2006-04-10 Thread Fagyal Csongor
Hi, Thanks. Well, I did not understand what you tried to say sorry..!! Just a Novice to perl But this is what I want to do. ... I have a file trial.pl HERE IT IS : trial.pl # What package do I have to import to use the Object method like $Response->Write() Usually you

Re: Calling $Response->Write

2006-04-10 Thread savimonty
Thanks. Well, I did not understand what you tried to say sorry..!! Just a Novice to perl But this is what I want to do. ... I have a file trial.pl HERE IT IS : trial.pl # What package do I have to import to use the Object method like $Response->Write() use Apache::ASP::Re

Re: Calling $Response->Write

2006-04-07 Thread Skylos
You set up mod_perl per documentation with the Apache::ASP module and in your perlscript scripts handled by the appropriate handler, the $Response object is scoped. Its as simple as that. David On 4/6/06, savimonty <[EMAIL PROTECTED]> wrote: > > Hi, > I would like to know how to call any Apache

Calling $Response->Write

2006-04-06 Thread savimonty
Hi, I would like to know how to call any Apache::ASP object call from a perl script. I need to know which package should I "use" to do this ...! The intent of doing this is to use perl_call's call_mathod( $Response->Write().) to call these ASP object methods. Can someone please