McMullett has asked for the wisdom of the Perl Monks concerning the following question:

I have an htm page that includes two htm files that are handled by associated mod_perl routines. How can the included files retrieve the url parms of the includer? I've always used CGI::EZ to get parms before. I'm using includes to avoid having code releases to change the look of the pages.
includer.htm?parm=1 #include virtual="/included.htm"

Replies are listed 'Best First'.
Re: Help with included files handled by mod_perl
by extremely (Priest) on Jan 31, 2001 at 23:26 UTC
    Are the "included" files mod_perl routines? How are you calling them? The best way to do it is to have the children called with $r passed to them but I'd need more details before I can help you. Are you just using Apache::Registry to pimp up CGIs or are you doing stuff with your own handlers or are you using a package like HTML::Mason or Embperl?

    If you are calling the mod_perl routines with the html #include syntax, I don't think you can do it very easily.

    --
    $you = new YOU;
    honk() if $you->love(perl)