Hi !

Sorry for the previous posting, im not yet completely awake ;o) 

> > >How can the param's be placed into a new hash?
> >
> > CGI.pm has a Vars() method, I believe, which returns a hash.
> >
> >   use CGI;
> >   my $q = CGI->new;
> >   $data = $q->Vars;
> >
> >   print $data->{field};  # etc.

Just a little add on:

I had to use  CGI ':cgi-lib'; to get the $q->Vars function working.
I think %data = $q->vars would be better to read and I'm not sure if the 
Vars() function returns a reference or a hash.

Best regards,
-- 
Jan Gruber              Primacom AG
Central Systems

cat /dev/world | perl -e "while (<>) {(/(^.*? \?) 42 \!/) && (print $1)}"
errors->(c)
_ 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to