On Saturday January 30 2010 21:16:01 Philip A. Prindeville wrote:
> Also, how come the eval block:
>   unless (eval "require $thing") {...}
> doesn't contain a terminating ';', i.e.:
> eval "require $thing;" instead?

It is not needed. It is an 'eval EXPR', not 'eval BLOCK'.
A semicolon in perl is a statement separator, not a statement terminator.

  Mark

Reply via email to