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: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/
