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.)
case KEY_lstat:
case KEY_pop:
case KEY_push:
- case KEY_send:
case KEY_setpgrp: case KEY_shift: case KEY_sleep:
case KEY_splice:
case KEY_srand: case KEY_stat: case KEY_substr:
case KEY_sysopen:
- case KEY_system: case KEY_syswrite:
+ case KEY_system:
case KEY_tell: case KEY_tie: case KEY_tied:
case KEY_truncate: case KEY_umask: case KEY_unlink:
case KEY_unpack: case KEY_unshift: case KEY_untie:
test_proto "sem$_" for qw "ctl get op";
+test_proto 'send';
+
test_proto "set$_" for qw '
grent hostent netent priority protoent pwent servent sockopt
';
test_proto 'syscall';
test_proto 'sysread';
test_proto 'sysseek';
+test_proto 'syswrite';
test_proto 'telldir';
test_proto 'time';