Help for this page

Select Code to Download


  1. or download this
        push @chat, "$self->{ID}\t$1";
    
  2. or download this
        $chat[$i] =~ /(.+?)\s(.+)[\n\r]*/;
        print $socket $2,$EOL if ( $1 ne $ID && $2 ne $kill);
    
  3. or download this
        %E = (map { $1 => $2;  /(.+):(.+)/; } (split /;/, $Elm));
    
  4. or download this
     
        /(.+):(.+)/;
    
  5. or download this
        $1 => $2;
    
  6. or download this
        sub _split {
            /(.+):(.+)/;
            return  ($1 => $2) if ($1);
        }
    
  7. or download this
        %E = (map { _split($_)  } (split /;/, $Elm));
    
  8. or download this
        $Elm =''; # to rewrite $E
        foreach ( split /;/, $Elm ) {
            $Elm .= "$_;" unless ( $_ =~ /^$ID\:/);
        }
        cond_broadcast($Elm);
    
  9. or download this
        my $tmp = '';
        foreach ( split /;/, $Elm ) {
    ...
        }
        $Elm = $tmp;
        cond_broadcast($Elm);