RE: Printing all values except. . .

2003-03-28 Thread Scot Robnett
This is untested my $query = new CGI; my %names = $query->Vars; foreach my $key(keys(%names)) { print "$key\: $names{$key}\n" if (($key eq 'name') or ($key eq 'email')); } -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Printing all values except. . .

2003-03-28 Thread Kim Forbes
Hello all, I want to first give a group thanks to everyone who helped me with my first script. I used CGI.pm and everything works fine. Now, I want to display on the screen all form parameters except 2. I tried using: my $query = CGI->new(); my @names = $query->param; foreach my $name ( @names