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


in reply to Re: What is true and false in Perl?
in thread What is true and false in Perl?

I love this 'feature'. It allows code like the following:
while (@array) { my $whatever = shift @array; # process $whatever; }
The loop ends when the array is empty.