in reply to Re^2: why does Perl eval have a strange terminator?
in thread why does Perl eval have a strange terminator?
I suppose I didn't understand that a simple statement can be, the same time BE a compound statement
Something is either a simple statement or a compound statement, not both.
But one can include the other.
And eval is neither a simple nor a compound statement. As I've already said, eval is an operator (like +, and and time), not a type of statement.
Operators can include blocks and thus statements:
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: why does Perl eval have a strange terminator?
by perlfan (Parson) on Jun 24, 2022 at 20:11 UTC |