title: how to determine success string inline by using perl
body: <p>hi i tried find $#lines include succcess  or not include in perl. But im sure $#lines include success but its returns not include. what is wrong with my code ?</p>
  
  <pre><code>if ( $#lines =~ /"success"/ ) {
  print "Found success\n";
  } else {
  print "Did not find success\n";
  </code></pre>