>>>>> "AG" == Agnello George <agnello.dso...@gmail.com> writes:
AG> sorry i ment AG> if (stdout == keys (%$retrn{$stdout}) ) { AG> ##so some code AG> } i don't think you are getting it yet. keys gets you the list of keys ONLY in a list context. == provides a scalar context which will get you the number of keys in the hash. i can't see your needing the number of keys and then comparing that to stdout. also why is stdout a bareword? it isn't the handle STDOUT so it won't work under strict. why don't you tell us what your real goal is and not your solution? uri -- Uri Guttman ------ u...@stemsystems.com -------- http://www.sysarch.com -- ----- Perl Code Review , Architecture, Development, Training, Support ------ --------- Gourmet Hot Cocoa Mix ---- http://bestfriendscocoa.com --------- -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/