I read through your points and one thing I dont understand is why I cant use the apache request object ($r->args);
When I read through the documentation thats what it seemed to be there for. | [reply] |
I didn't want to say explicitly that you can't, because it depends on what you're trying to do. What I was saying is that from your script, I can't tell which of the following you're trying to implement:
- A mod_perl content-handler module.
- A CGI, accelerated with Apache::Registry.
- Just a plain, old, run-of-the-mill CGI.
What I was saying, if you reread my post, is that what you can and cannot access depends on which of those three you are implementing. So, which of those three are you implementing?
Spud Zeppelin * spud@spudzeppelin.com
| [reply] |
ahh, yep I was trying to write an accelerated cgi with Apache::Registry... Since then I spoke to the code guru where I used to work and he told me I should use Apache::Request.
so I swapped it to:
my $r = Apache->request;
my $apr = Apache::Request->new($r);
$apr->param('node'); etc. which he said was better.
thanks for the help though... what you said did make sense and I did take it in. | [reply] |