Help for this page

Select Code to Download


  1. or download this
      my $wheel = POE::Wheel::ReadWrite->new( ... );
      $heap->{readwrite}->{$wheel->ID} = $wheel;
    
  2. or download this
    sub agent_error {
      my ($heap, $function, $error, $wheel_id) = @_[HEAP, ARG0, ARG2, ARG3
    +];
    ...
      # Close the socket here...
      delete $heap->{readwrite}->{$wheel_id};
    }