"print OUT ($naccess{$1}) if (exists($naccess{$1}));"
To make your code more robust, you better first check whether $1 is actually set, before you check whether it exists in the hash.
In reply to Re: hash question
by pg
in thread hash question
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |