summaryrefslogtreecommitdiff
path: root/dist/B-Deparse
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-06-14 13:10:13 -0700
committerFather Chrysostomos <sprout@cpan.org>2011-06-14 13:17:51 -0700
commita5c70c4d9272459b07b8ddb9d839351659a0aea8 (patch)
tree8b2fa9347c57508e14fa5f99757c9bad72ad4bae /dist/B-Deparse
parent87d00a71dc3f8397bffdc2e0691c50cb85519a68 (diff)
downloadperl-a5c70c4d9272459b07b8ddb9d839351659a0aea8.tar.gz
Allow ‘continue;’ without feature.pm
Since there is no conflict between ‘continue;’ and a user-defined sub- routine (it’s a syntax error, as ‘continue’ is already a keyword), there is no need to require the ‘switch’ feature to be enabled for this keyword. This actually simplifies the implementation.
Diffstat (limited to 'dist/B-Deparse')
-rw-r--r--dist/B-Deparse/t/core.t1
1 files changed, 0 insertions, 1 deletions
diff --git a/dist/B-Deparse/t/core.t b/dist/B-Deparse/t/core.t
index 9c832c6dde..dcf0082915 100644
--- a/dist/B-Deparse/t/core.t
+++ b/dist/B-Deparse/t/core.t
@@ -67,7 +67,6 @@ sub CORE_test {
package test;
use subs ();
import subs $keyword;
- use feature 'switch';
::like
$deparse->coderef2text(
eval "sub { () = $expr }" or die "$@in $expr"