[comp.lang.perl] potential small improvment concerning defined

stef@zweig.sun (Stephane Payrard) (03/26/91)

$a=1;
$b='$a';
eval "print defined($b);"
#  print defined("$b");  # <====== I would like this expression to be
                         #     equivalent to the previous one instead
                         #     of causing a syntax error.
                         #     It would save me some evals


--
Stephane Payrard -- stef@eng.sun.com -- (415) 336 3726
SMI 2550 Garcia Avenue M/S 10-09  Mountain View CA 94043