On 29/04/2011 10:15, Agnello George wrote:

sorry i ment

    if (stdout ==   keys  (%$retrn{$stdout})  ) {
        ##so some code
     }

Erm, perhaps

  if ($stdout == keys %{$retrn{$stdout}}) {

But that would compare the value of $stdout with the /number/ of keys
in the hash, which is always one in your original example.

Rob

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to