stew has asked for the wisdom of the Perl Monks concerning the following question:
I need also to grab each line starting with particular ip address and bung it in array
@ip = $log =~/192\.168\.1\.10/g;
Will grab the IP address but I need all the line...
Simple I bet, but I'm struggling with this one
update (broquaint): changed href to link
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: and a simple reg exp poser
by diotalevi (Canon) on Jan 30, 2003 at 14:56 UTC | |
by Abigail-II (Bishop) on Jan 30, 2003 at 23:03 UTC | |
|
Re: and a simple reg exp poser
by Cabrion (Friar) on Jan 30, 2003 at 15:11 UTC | |
|
Re: and a simple reg exp poser
by Jaap (Curate) on Jan 30, 2003 at 14:51 UTC | |
by diotalevi (Canon) on Jan 30, 2003 at 15:02 UTC | |
by stew (Scribe) on Jan 30, 2003 at 14:58 UTC | |
|
Re: and a simple reg exp poser
by robartes (Priest) on Jan 30, 2003 at 15:00 UTC |