Re: Searching Hash for contents of Array

2012-05-01 Thread Somu
"200.147.172.135" inserts another newline '\n' character at the end. You can do '200.147.172.135' And yes, i think an array like @ignoreIPs can contain regex as an item.. And... If someone could help with the range of IPs... maybe use the double dot operator(..) somehow. On 5/1/12, Steven Buehle

Searching Hash for contents of Array

2012-04-30 Thread Steven Buehler
Hopefully I have the correct mailing list for this question. I have a script that works and looks as follows: --- #$hash{SRC} is filled in by a database call. #These IP's are not the IP's in the real script. my @ignoreIPs = ("19.147.172.133", "19.147.172.135",