in reply to Perl bug ?
That expression also has the side effect of autovivifying $errors and that causes the $errors check on the test on the following line to succeed.