in reply to Getting hash of CGI variables

This will print everything:
foreach my $name ( $CGI->param() ) { my $value = $CGI->param($name); print "The value of $name is $value<br>"; }

$CGI->Vars; is just a simple way of impoting the whole hash ionto your main:: Namespace

jdtoronto

Replies are listed 'Best First'.
Re: Re: Getting hash of CGI variables
by Lori713 (Pilgrim) on Jan 22, 2004 at 20:46 UTC
    This worked very well (as did some of the other examples given in this post). Thanks!!

    Lori