Howdy fellow perl friends,
I have an array of IP addresses as $hst
I need to take each of the items in $hst, strip the last few digits from them (such as 161.184.220.89 to 161.184.220) so we average correctly.
Yes, I am one of those cut & pasters of all codes, and master of none! Can anyone help me out on this? I'm seeing some simple regexp, but it is eluding me....
Thanks!
Diversity by Design
I have an array of IP addresses as $hst
I need to take each of the items in $hst, strip the last few digits from them (such as 161.184.220.89 to 161.184.220) so we average correctly.
Yes, I am one of those cut & pasters of all codes, and master of none! Can anyone help me out on this? I'm seeing some simple regexp, but it is eluding me....
Thanks!
Diversity by Design