=head2 No-ops Perl doesn't officially have a no-op operator, but the bare constants C<0> and C<1> are special-cased to not produce a warning in a void context, so you can for example safely do 1 while foo();
In reply to Re: Sometimes it's in Void Context
by ysth
in thread Sometimes it's in Void Context
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |