On 3/26/07, Anthony Gardner <[EMAIL PROTECTED]> wrote:
Can I only use internal_redirect in handlers or is it possible to use it within a cgi script calling another cgi script?
If by "CGI script" you mean something running ModPerl::Registry, then yes, it works fine. If you mean a perl program called through mod_cgi and not mod_perl, then no. You would have to fake that with LWP or similar.
my $r = $self->_request_rec();
That looks pretty scary. Where is the value of $self->_request_rec() coming from? If you keep a RequestRec object around and try to use it in a later request, bad things will happen (segfaults). - Perrin