[cgiapp] Application params problem

Amelia Ireland amelia.ireland at gmail.com
Thu Jul 10 19:56:14 EDT 2008


On 10 Jul 2008, at 15:50, David Baxter wrote:

> Hi Amelia,
>
> It looks like you are trying to set the CA params like query params  
> and I don't think that works. Try a different syntax : $self- 
> >param('validated_query' => $valid_h);

I tried both $self->param('validated_query', $valid_h) and $self- 
 >param('validated_query' => $valid_h), but neither works, although  
according to the docs, both are valid methods of setting params [ see http://search.cpan.org/~markstos/CGI-Application/lib/CGI/Application.pm#param() 
  ]. In both cases, when I try to get the param value using $self- 
 >param('validated_query'), it has been set to 'validated_query',  
rather than $valid_h.

Hmmm...

--
Amelia Ireland
GO Editorial Office
http://www.ebi.ac.uk || http://www.berkeleybop.org
BBOP Plant Project: http://bbopgarden.blogspot.com







More information about the cgiapp mailing list