- or download this
#!/usr/bin/perl
...
@hand = $sel->handles();
print Dumper \@hand;
- or download this
$VAR1 = [
'STDIN',
...
'STDOUT',
'STDERR'
];
- or download this
sub removeSocket {
my ($self, $socket) = @_;
...
my @handles2 = $select->handles();
print STDERR '>>after: ',Dumper \@handles2;
}
- or download this
dumping: $VAR1 = \bless( \*Symbol::GEN1, 'IO::Socket::INET' );
>>before: $VAR1 = [
...
bless( \*Symbol::GEN0, 'IO::Socket::INET' ),
bless( \*Symbol::GEN1, 'IO::Socket::INET' )
];