Even if bare blocks weren't allowed in Perl, you could just use a do { ... } block, or a for loop that only has one iteration.
In reply to Re^5: How to capture the "isn't numeric" warning?
by tobyink
in thread How to capture the "isn't numeric" warning?
by harangzsolt33
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |