Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
in bar.cgi I'm using the following:my $tree = XMLin( foo.xml ); print $q->redirect('http://foo/cgi-bin/bar.cgi?TREE='.$tree);
I've also tried something simple like:my $p = new CGI; my %in = map { $_ => $p->param($_) } $p->param; print header; print Dumper(%in);
but no luck with either. I can't seem to access any of the the data in the hash it creates. Is there an easier way or am I missing something?my $treeparam = param('TREE'); print Dumper($treeparam);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How do I pass a data structure with CGI redirect
by dave_the_m (Monsignor) on May 12, 2004 at 01:32 UTC | |
|
Re: How do I pass a data structure with CGI redirect
by Errto (Vicar) on May 12, 2004 at 02:35 UTC | |
|
Re: How do I pass a data structure with CGI redirect
by sgifford (Prior) on May 12, 2004 at 01:41 UTC | |
|
Re: How do I pass a data structure with CGI redirect
by beth (Scribe) on May 12, 2004 at 06:05 UTC | |
|
Re: How do I pass a data structure with CGI redirect
by eserte (Deacon) on May 12, 2004 at 09:42 UTC | |
by Anonymous Monk on May 12, 2004 at 15:31 UTC |