summaryrefslogtreecommitdiff
path: root/pp.c
diff options
context:
space:
mode:
authorAbhijit Menon-Sen <ams@toroid.org>2012-02-01 10:52:31 +0530
committerYves Orton <demerphq@gmail.com>2012-02-13 23:16:23 +0100
commita58a85fab78d767203f1dac26cbf0717d0c47e87 (patch)
tree129129eefb74933e7e3fb20f96b95013f8f104d6 /pp.c
parentf7d739d1511e40955f3a5ee22efc6a6e64af9bce (diff)
downloadperl-a58a85fab78d767203f1dac26cbf0717d0c47e87.tar.gz
Make pp_study a no-op, as discussed on p5p
Diffstat (limited to 'pp.c')
-rw-r--r--pp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/pp.c b/pp.c
index f6ad80fca8..ae1eb11abf 100644
--- a/pp.c
+++ b/pp.c
@@ -673,6 +673,11 @@ PP(pp_study)
RETPUSHNO;
}
+ /* Make study a no-op. It's no longer useful and its existence
+ complicates matters elsewhere. This is a low-impact band-aid.
+ The relevant code will be neatly removed in a future release. */
+ RETPUSHYES;
+
if (len < 0xFF) {
quanta = 1;
} else if (len < 0xFFFF) {