I remember doing something like the above in C, but cannot find the answer while using perl.
I would like to take an assigned variable, and compare it to a list:
If $s_port in [80, 8080, 9999] then $www = True.
Anyhelp would be appreciated.
Thanks,
David Sarvai