Where $test is the read variable name and $help is the potentially defined/undefined variable.my $test = "\$help"; my $help = 1; if(defined($$test)){ print "defined\n"; };
In reply to Dereferencing simple variable by chrishowe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |