No-ops
Perl doesn't officially have a no-op operator, but the bare constants 0
and 1
are special-cased not to produce a warning in void context, so you can for example safely do
1 while foo();
No-ops
Perl doesn't officially have a no-op operator, but the bare constants 0
and 1
are special-cased not to produce a warning in void context, so you can for example safely do
1 while foo();
Please login to continue.