Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!newstop!exodus!stef From: stef@zweig.sun (Stephane Payrard) Newsgroups: comp.lang.perl Subject: potential small improvment concerning defined() Message-ID: Date: 26 Mar 91 04:12:28 GMT Sender: news@exodus.Eng.Sun.COM Distribution: comp.lang.perl Organization: Sun Microsystems -- Mountain View Lines: 17 $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