Geoffrey Young wrote:
Michael wrote:
If it really concerns you then maybe a
   $request = Apache::Request->new($request)
       if(! request || (ref $request eq 'Apache'));


that won't work (in all cases) because of later code:

    $params->{ params } = { %{ $request->parms() } }
        if $all or $plist->{ params };

params() is an Apache::Request method, not an Apache method.


My code should get an new Apache::Request object if the request wasn't there, or if it's just an Apache object, right? So, after that it would be guaranteed to be an Apache::Request object, right?


--
Michael Peters
Developer
Plus Three, LP


_______________________________________________ templates mailing list [EMAIL PROTECTED] http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to