in reply to Re^2: What esteemed monks think about changes necessary/desirable in Perl 7 outside of OO staff
in thread What esteemed monks think about changes necessary/desirable in Perl 7 outside of OO staff
can you please explain why Perl designers took some efforts to allow omitting semicolon before closing brace? >
Because it's unambiguous, and because it allows one to treat it as a statement separator (like the comma) instead of statement terminator.
Getting rid of the others would cause countless ambiguities.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
| A reply falls below the community's threshold of quality. You may see it by logging in. |