in reply to When is 'eval' too inefficient?
Be careful when you omit parens. You got lucky because of eval's prototype, but other functions aren't as forgiving.
eval $var1 || eval $var2;
means
eval($var1) || eval($var2);
For non-exceptional functions,
func $var1 || func $var2;
means
func($var1 || func($var2));
|
|---|