in reply to Re: regular expression help
in thread regular expression help

thank you guys for helping a noob. you have helped a lot! thanks velaki for giving me that code!

Replies are listed 'Best First'.
Re^3: regular expression help
by SuicideJunkie (Vicar) on Aug 14, 2007 at 19:18 UTC
    If you want to look up the errors in the logfile for context later on, it would be handy to also print out $. which will contain the line number of the logfile you are currently reading.