Help for this page

Select Code to Download


  1. or download this
    $match = '(foo|baz|bar)';
    
    while (<INPUT>) {
       next if ($_ !~ /$match/o);
    }
    
  2. or download this
    $m_1 = '(bar|baz|foo)';
    $m_2 = '([Bb]lah|[Cc]ore)';
    ...
          &other("var");
       }
    }