http://www.perlmonks.org?node_id=475468


in reply to Why no warnings for 1 in void context?

It's so that code like the following works without warnings:
1 while ....
NB - the 1 in a require isn't evaluated in a void context, so it wouldn't generate a warning anyway.

Dave.