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 *BR; } } What am I doing wrong? Thanks,

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 *BR; } } What

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 =~ name; (I think) you