Help for this page

Select Code to Download


  1. or download this
    #-------------------Watch for IRC Inputs-------------------
    sub incoming_data {
    ...
            
        return 1;
    }
    
  2. or download this
            sysread $fh, $input, 1000000;
            #chop $input;
            
            $input =~ s/\r\n//g;
    
  3. or download this
        $input = <$fh>;
        chomp $input;