in reply to A newbie's CGI- kinda problem

print $q->Vars; takes care of it all for you

Replies are listed 'Best First'.
RE: RE: A newbie's CGI- kinda problem
by httptech (Chaplain) on May 26, 2000 at 18:22 UTC
    Hmm, looks like the Vars subroutine is not available in the version of CGI.pm that shipped with perl 5.00503 on my Linux box. Upon upgrading it I found it, but printing $q->Vars returns everything contencated into one long string with no spaces; not very useful. You'd have to call it in another context and do some interim processing to get it to spit out a neat, human readable list it looks like.