print OUT ($1) if (!exists($naccess{$1}));
or
print OUT ($1) unless (exists($naccess{$1}));
Although it's not quite proper English, it reads rather nicely if you remove the optional parens:
print OUT ($1) if not exists $naccess{$1};
Update: It's useless to print $naccess{$1} if it doesn't exist! I substituted $naccess{$1} with the key ($1).
In reply to Re: hash question
by ikegami
in thread hash question
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |