summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-08-27 11:13:48 -0700
committerFather Chrysostomos <sprout@cpan.org>2011-08-27 17:47:15 -0700
commit1ed240b748e3e57ddb97e1ee9e41c543ca8362d8 (patch)
treeac0cf74c8bafc0cee3758470bd81b588b8324494 /t
parent720d5b2f3eeadadafefee42d92b2093b9688f9c1 (diff)
downloadperl-1ed240b748e3e57ddb97e1ee9e41c543ca8362d8.tar.gz
&CORE::send() and &CORE::syswrite()
This commit makes &CORE::send and &CORE::syswrite callable through references and & syntax. All this commit has to do is remove them from the exception list in gv.c, as previous commits happen to have made them work. (I didn’t realise originally that these use pushmark.)
Diffstat (limited to 't')
-rw-r--r--t/op/coreamp.t3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/op/coreamp.t b/t/op/coreamp.t
index cff14874b3..06464f1a8d 100644
--- a/t/op/coreamp.t
+++ b/t/op/coreamp.t
@@ -646,6 +646,8 @@ like $@, qr/^Too many arguments for select system call at /,
test_proto "sem$_" for qw "ctl get op";
+test_proto 'send';
+
test_proto "set$_" for qw '
grent hostent netent priority protoent pwent servent sockopt
';
@@ -665,6 +667,7 @@ test_proto 'symlink';
test_proto 'syscall';
test_proto 'sysread';
test_proto 'sysseek';
+test_proto 'syswrite';
test_proto 'telldir';
test_proto 'time';