-
Notifications
You must be signed in to change notification settings - Fork 14
Signal
Yuki Kimoto - SPVM - Perl Club edited this page Jun 1, 2023
·
2 revisions
# Perl
$SIG{PIPE} = 'IGNORE';
# SPVM
use Sys::Signal;
use SYS::Signal::Constant as SIGNAL;
Sys::Signal->signal(SIGNAL->SIGPIPE, Sys::Signal->SIG_IGN);