in reply to Why no warnings for 1 in void context?
It's so that code like the following works without warnings:
NB - the 1 in a require isn't evaluated in a void context, so it wouldn't generate a warning anyway.1 while ....
Dave.
In Section
Seekers of Perl Wisdom