I'm not sure how this will look like in Perl, but I assume it would be something like:
ASSERT { stuff to check, things to warn about }
The code block would not be compiled unless the -A flag is specified.
I have no idea how that would look in Perl6, but I would assume it would be similar to what 5.10 will bring.
Liz
In reply to Re: assert in Perl
by liz
in thread assert in Perl
by Arunbear
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |