in reply to Re: This should be simple (updated)
in thread This should be simple
That assignement into a list with a capturing /.../ match thing was very interesting. I'm using a goofy while loop to repeatedly capture and the rip off the IP from lines until there is no matching IP pattern, then move on to the next line (while (<>). That assignement using the match looks like I could use it with an array variable on the left and a 'g' on the match to capture all the matching IP's on a given line. I'll try that after coffee.
Thanks again.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: This should be simple (updated)
by AnomalousMonk (Archbishop) on Jun 30, 2022 at 13:24 UTC |