Help for this page

Select Code to Download


  1. or download this
    {
            binmode(STDOUT);    # Required for this to work on MSWin32
    ...
        %result = ( task => $cmd, status => $status, reply_to => $nick, re
    +sult => $result );
            $output = $filter->put( [ \%result ] ); print @$output;
    }
    
  2. or download this
    {
    # forking plugin to run a command on a remote server via ssh
    ...
            my $output = $filter->put( [ \%result ] );
            print @$output;
    }