Re: Format the raw log.

2007-11-24 Thread Tom Phoenix
On 11/24/07, Avinash S <[EMAIL PROTECTED]> wrote: > I want to extract only the block which has the key word [WARNING] It sounds as if you wish to process many lines at once, rather than one line at a time. Is that right? > while () > chomp;chomp; Why two chomps? The first one removed th

Re: Format the raw log.

2007-11-24 Thread Avinash S
Hi, Yes, I have a trouble in parsing through the raw log. I am using the "-->" symbol to parse through the log. From -- --> Validating DNS Server Entries <-- -- Servers should conform to global ANYCast Standard

Re: Format the raw log.

2007-11-23 Thread Tom Phoenix
On 11/23/07, Avinash S <[EMAIL PROTECTED]> wrote: > I need to format the below logs. ... > after this I want to send a mail. Sounds like you know what you want to do. Are you having trouble implemening any part of it in Perl? Cheers! --Tom Phoenix Stonehenge Perl Training -- To unsubscribe, e