This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
add tests for (?{ return foo })
authorDavid Mitchell <davem@iabyn.com>
Wed, 6 Jun 2012 09:39:26 +0000 (10:39 +0100)
committerDavid Mitchell <davem@iabyn.com>
Wed, 13 Jun 2012 12:32:56 +0000 (13:32 +0100)
commitcec726543ec9194c7828e4f73ed762133994d9bc
treeee8f04646a5bf228bd0b0bfb4dc74cd1f27280f8
parentf7a1f402131d5ced1c9d55e64c0ecf669c628201
add tests for (?{ return foo })

All types of code blocks make use of the return value from the code
block. Check they all work, with and without an explicit 'return'.
t/re/re_tests