summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-09-03 17:11:02 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-09-03 17:11:02 +0000
commit6cccac84e4a5aba4588a786a760c1178aedf8a6b (patch)
tree7012428c2737614f7cfdc8d6635e246ca425608a /perl.c
parent8bbac5d87d18d5cc6dd99bc43314c8175fd4027b (diff)
downloadperl-6cccac84e4a5aba4588a786a760c1178aedf8a6b.tar.gz
Deprecate the -P switch.
p4raw-id: //depot/perl@31787
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl.c b/perl.c
index 6b027124e8..508fb562a9 100644
--- a/perl.c
+++ b/perl.c
@@ -1787,6 +1787,7 @@ S_parse_body(pTHX_ char **env, XSINIT_t xsinit)
forbid_setid('P', -1);
PL_preprocess = TRUE;
s++;
+ deprecate("-P");
goto reswitch;
case 'S':
forbid_setid('S', -1);