title: backtick in Perl printing output on terminal
body: <p>I am trying to get the output of a command in a variable and checking whether its matching with other variable.</p>
  
  <pre><code>   $login1=`ssh ****************** date`;
  </code></pre>
  
  <p>This command when typed manually will expect a prompt " Password: " . When i run it from the script it is ruuning that command and printing that prompt waiting for user to enter, but i dont need that. I just need to get that output and compare </p>
  
  <pre><code>     if($login1=~ /Password:/)
              {   
                print " yes";
              }
           else
                {
                  print "No ";
                 }
  </code></pre>
  
  <p>However the script is just stopping at Password prompt . Please suggest me on how to achieve this .</p>