Hi Folks

On Fri, 2008-07-11 at 08:50 +1000, 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 don't see how that makes any difference.

More below.

> > For example, take this code:
> >
> > sub check_query_h {
> >     my $self = shift;
> >     my $valid_h;    # hashref to store valid data in
> >     [... validation code ...]
> >     $self->param('validated_query', $valid_h);
> >
> >     print STDERR "valid_h: ".Dumper( $valid_h )."\n";
> >
> >     # see what is in the param 'validated_query'
> >     print STDERR "validated_query: ". Dumper( 
> > $self->param('validated_query') )."\n";

I don't have a good suggestion, but perhaps it's worth considering if
the 'context' of this Dumper() call matters. So, try:

my($h) = $self -> param('validated_query');

print STDERR "context: ".Dumper($h)."\n";

This is just a guess of course. I don't expect to make a difference.

Apart from that, my only other guess would be you've deleted (just to
post) some line of code with affects things.


-- 
Ron Savage
[EMAIL PROTECTED]
http://savage.net.au/index.html



#####  CGI::Application community mailing list  ################
##                                                            ##
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp    ##
##                                                            ##
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:          http://cgiapp.erlbaum.net/                 ##
##                                                            ##
################################################################

Reply via email to