summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-02-14 10:25:55 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-02-14 10:25:55 +0000
commitded8aa31a400d00437fd50627d6c8013f58fd6ab (patch)
tree9512c4e24347fa09023817ba74cb353a5299b445 /op.c
parentce2f5d8f75586e7887cacd21ed88285c7953d9fc (diff)
downloadperl-ded8aa31a400d00437fd50627d6c8013f58fd6ab.tar.gz
allow C<select('foo')> to autovivify *foo (SelectSaver expects that)
p4raw-id: //depot/perl@2914
Diffstat (limited to 'op.c')
-rw-r--r--op.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/op.c b/op.c
index 9e4f084d29..7ccfe1655e 100644
--- a/op.c
+++ b/op.c
@@ -1401,6 +1401,7 @@ is_handle_constructor(OP *o, I32 argnum)
/* FALL THROUGH */
case OP_SYSOPEN:
case OP_OPEN:
+ case OP_SELECT: /* XXX c.f. SelectSaver.pm */
case OP_SOCKET:
case OP_OPEN_DIR:
case OP_ACCEPT: