Help for this page

Select Code to Download


  1. or download this
    
    ($file_text =~ /$string_to_match/) && $content = $string_to_match;
    
  2. or download this
    
    $content = ($file_text =~ /$string_to_match/) ?
        $string_to_match : $default_failure_value;