This regression has been introduced by the following commit (as git
5341b2b is the first bad commit
Author: Josh ben Jore <firstname.lastname@example.org>
Date: Wed Sep 23 15:35:14 2009 -0700
Fix when( scalar ... ) bug
looks_like_bool should look past scalar(). Prior to this fix, saying
scalar() caused the when() argument to be /not/ a boolean even if it
reasonably was. Perhaps something like: when( scalar /$re/ ). I don't
know any natural way someone is doing to use when(scalar ...) but it
certainly seems like it was mistakenly left out.
:100644 100644 729c25f0aa87bcd25f8606bd70d852c6c67e1967 c3736fac0b76b2e4beaf755d5a628d4d71e129d3 M op.c
:040000 040000 afe81091570f36d8e50f3513ec91f3f0f27b55f4 03acff2025d490e42f74d28599f1df3994becef1 M t
Site configuration information for perl 5.12.0:
Configured by fw at Sat Apr 3 09:18:00 CEST 2010.
Summary of my perl5 (revision 5 version 12 subversion 0) configuration: