in reply to Finding specific keyword in Perl
You need a few parentheses in there...
my ($IP) = $line =~ /(\d+\.\d+\.\d+\.\d+)/;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Finding specific keyword in Perl
by BillKSmith (Monsignor) on Aug 21, 2012 at 17:09 UTC |