in reply to Re: eval with semicolon
in thread eval with semicolon

"not a special compiler directive"

"preprocessing directive", or as you said "compiler directive", has its own specific meaning, and things like if, for, while etc. are not preprocessing directives. They are really flow control statement.

They can often be further classified:

Replies are listed 'Best First'.
Re^3: eval with semicolon
by xdg (Monsignor) on Oct 02, 2005 at 21:41 UTC

    Good point. Sloppy terminology on my part -- I hadn't meant pre-processing. From perlsyn, a "compound statement that introduces a block" is a better description of what eval is not.

    -xdg

    Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.