Ron McKeever wrote:
Thank you for replying.....
Actually there are 7 columns the last one got cut off in the email.
The column im working on is the 6th.
Thats why i thought i needed to split it?
RIp
----- ----- ----- ----- ----- -----
-----
1074715516 111 222.222.2.2 2566 111.111.111.1 80
111.111.111.1
OK, split is fine -
my $test = (split(/\s/,$_))[5];
next if $test =~ /(?:25|53|80)/;
\s is whitespace and include tabs spaces carridge returns, et al.
--
_Sx_ http://youve-reached-the.endoftheinternet.org/ _____
http://jaxpm.insecurity.org/
http://cis4dl.insecurity.org/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>