This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
pat_re_eval.t; test "use re 'eval'"
authorDavid Mitchell <davem@iabyn.com>
Sat, 31 Mar 2012 14:47:04 +0000 (15:47 +0100)
committerDavid Mitchell <davem@iabyn.com>
Wed, 13 Jun 2012 12:32:50 +0000 (13:32 +0100)
commit1008bb63303d54d6d4b07526487d1752ee8cb755
treea4ec6583596c084e7732bd6243d0dc4ef251618d
parent7a529e48ddd954b673de5f5179925e6d80722394
pat_re_eval.t; test "use re 'eval'"

In this test file, firstly reduce all "use re 'eval'"s into the smallest
scope possible, and secondly, for each pattern which still requires this
in scope, also test that pattern without it in scope, but under eval, and
check that it dies.

Note that during the course of this branch, much that formerly needed
"use re "eval'" no longer does, which is the main reason we can dispense
with it so much in this commit.
t/re/pat_re_eval.t