Re: how to display a value

2001-08-29 Thread Jerry Preston
Jeff, I want to print out the value of $name, Jerry. Thanks, Jerry Jeff 'japhy/Marillion' Pinyan wrote: > > On Aug 29, Jerry Preston said: > > > name = "Jerry"; > > You mean > > $name = "Jerry"; > > > foreach $key ($query->param) { > >undef $check; > >$check = $1 if $key =~ "n

Re: how to display a value

2001-08-29 Thread Jeff 'japhy/Marillion' Pinyan
On Aug 29, Jerry Preston said: > name = "Jerry"; You mean $name = "Jerry"; > foreach $key ($query->param) { >undef $check; >$check = $1 if $key =~ "name"; (I think) you mean $check = $1 if $key =~ /($name)/; >if( $check ) { > print "name key *$key* check $1 *"; >

how to display a value

2001-08-29 Thread Jerry Preston
Hi, I am stumped! I need to see the value oa all my variables. This is what I am doing: name = "Jerry"; foreach $key ($query->param) { undef $check; $check = $1 if $key =~ "name"; if( $check ) { print "name key *$key* check $1 *"; } } What am I doing wrong? Than