my %admin_users = ( John => 1, Bill => 1, Susie => 1, );Then it's easy to test:
if ( $admin_users{$author} )
{
print $blah;
}
else
{
print $uber_blah;
}
In reply to Re: Is for the wrong choice here?
by daviddd
in thread Is 'for' the wrong choice here?
by jerrygarciuh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |