summaryrefslogtreecommitdiff
path: root/makedef.pl
diff options
context:
space:
mode:
authorJosh ben Jore <jjore@cpan.org>2009-09-23 15:35:14 -0700
committerJosh ben Jore <jjore@cpan.org>2009-09-28 16:40:00 -0700
commit5341b2b7ab11bc31f63ac7a675e74106418d0661 (patch)
tree0e6469b5c24e455da55241aad50dab8c8cac44e3 /makedef.pl
parent906bad61c3bd0dd3a56a226b2981e4d14d5e71c9 (diff)
downloadperl-5341b2b7ab11bc31f63ac7a675e74106418d0661.tar.gz
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.
Diffstat (limited to 'makedef.pl')
0 files changed, 0 insertions, 0 deletions