Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    
    @hand = $sel->handles();
    print  Dumper \@hand;
    
  2. or download this
    $VAR1 = [
              'STDIN',
    ...
              'STDOUT',
              'STDERR'
            ];
    
  3. or download this
    sub removeSocket {
        my ($self, $socket) = @_;
    ...
        my @handles2 = $select->handles();
        print STDERR '>>after: ',Dumper \@handles2;
    }
    
  4. 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' )
            ];