Help for this page

Select Code to Download


  1. or download this
    sub cmd_unixlong {
            my ($obj, $cmd) = @_;
    ...
            $obj->cmd("$line ; exit");
    
        } # end sub cmd_unixlong
    
  2. or download this
    sub cmd_telnetlong {
            my ($obj, $cmd) = @_;
    ...
            ## Send the last line and return the output.
            return $obj->cmd("$line ; exit");
        } # end sub cmd_unixlong