title: how to check wether a special character "+" is present in a string using perl
body: <p>I am using an <code>if</code> condition to check if a "+" is present in string. If it is present, it should print some thing, else if "-" is present, it should print some thing else:</p>
  
  <pre><code>if ($test_1 =~/^+/)
  {
      print OUTFILE1 "Unsigned \n";
  }
  elsif($test_1 =~/^-/)
  {
      print OUTFILE1 "Signed \n";
  }
  </code></pre>