summaryrefslogtreecommitdiff
path: root/README.os390
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2015-05-06 11:56:47 +0100
committerDavid Mitchell <davem@iabyn.com>2015-05-08 15:27:04 +0100
commit8283f70d81a621964815ba89abe1518130e1685c (patch)
tree1600fc00d4b5c8fa89d16e8d8c5193fc1e33ecce /README.os390
parent737f753477826d5b8aea4125965e48c81d274b7d (diff)
downloadperl-8283f70d81a621964815ba89abe1518130e1685c.tar.gz
allow undef as an arg to '&' prototype
RT #123475 Commit e41e9865be5555 (to fix [perl #123062]) restricted the types of args allowed for a function with a '&' prototype - previously it allowed array refs and the like. It also removed undef, so this was now a compile-time error: sub foo (&) {...} foo(undef) However, some CPAN code used the idiom register_callback(undef) to explicitly disable a registered callback. So re-allow an explicit undef.
Diffstat (limited to 'README.os390')
0 files changed, 0 insertions, 0 deletions