eval {1}; if (1) {} [download]
Note the semi-colon!
Liz
In reply to Re: Syntax error with if following eval by liz in thread Syntax error with if following eval by Anonymous Monk