summaryrefslogtreecommitdiff
path: root/regen/keywords.pl
diff options
context:
space:
mode:
authorZefram <zefram@fysh.org>2017-12-06 00:09:42 +0000
committerZefram <zefram@fysh.org>2017-12-06 00:09:42 +0000
commitf68519ee3f12e5ba41a022ef88ce3d6c3901807f (patch)
treed28e0491a89f13c137a35d52c17fb0f6e37af773 /regen/keywords.pl
parent84ac76a7475419f4ac6e5a6935522f7b7ebb0e2c (diff)
downloadperl-f68519ee3f12e5ba41a022ef88ce3d6c3901807f.tar.gz
add "whereis"
"whereis" is like "whereso" except that it performs an implicit smartmatch.
Diffstat (limited to 'regen/keywords.pl')
-rwxr-xr-xregen/keywords.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/regen/keywords.pl b/regen/keywords.pl
index 6bebf7d103..b794a6bfe9 100755
--- a/regen/keywords.pl
+++ b/regen/keywords.pl
@@ -39,6 +39,7 @@ my %feature_kw = (
state => 'state',
say => 'say',
given => 'switch',
+ whereis => 'switch',
whereso => 'switch',
# continue is already a keyword
evalbytes => 'evalbytes',
@@ -352,6 +353,7 @@ __END__
-waitpid
-wantarray
-warn
++whereis
+whereso
+while
-write