this case would pring undefined. if you hadmy $var_val; if(defined($var_val)){ print "defined"; } else{ print "undefined": }
it would have printed: definedmy $var_val = 'something';
In reply to Re: Check to see if a variable exists
by bear0053
in thread Check to see if a variable exists
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |