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->
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
>
>
>
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
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::
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
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
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
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
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