[Templates] Template::Service::Apache query

[prev] [thread] [next] [Date index for 2004/10/07]

From: Paul Makepeace
Subject: [Templates] Template::Service::Apache query
Date: 14:26 on 07 Oct 2004
Hi,

  sub params {
      my ($self, $request, $params) = @_;
      $params ||= { };
  
      my $plist = $self->{ SERVICE_PARAMS };
      my $all = $plist->{ all };
  
      return $params unless keys %$plist;
      $request = Apache::Request->new($request);
               ^

Is this intentional (Andy)? Was ||= in mind, like for $params?

I'm currently trying to (ab)use this module via a custom Maypole view
and we already have the request object.

Paul

PS thank you for having $params as an in/out var! (merging hashes later)--



        -- 
        Paul Makepeace .............................. http://paulm.com/inchoate/

"What is ja? Questions, questions."
   -- http://paulm.com/toys/surrealism/

_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates

[Templates] Template::Service::Apache query
Paul Makepeace 14:26 on 07 Oct 2004

Re: [Templates] Template::Service::Apache query
Geoffrey Young 15:23 on 07 Oct 2004

Re: [Templates] Template::Service::Apache query
Geoffrey Young 15:27 on 07 Oct 2004

Re: [Templates] Template::Service::Apache query
Geoffrey Young 15:39 on 07 Oct 2004

Re: [Templates] Template::Service::Apache query
Darren Chamberlain 15:36 on 07 Oct 2004

Generated at 08:55 on 15 Mar 2005 by mariachi v0.52