Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Simple log parser

by seeker (Curate)
on Aug 15, 2002 at 14:16 UTC ( [id://190405] : note . print w/replies, xml ) Need Help??


in reply to Simple log parser

Shouldn't your string compares (i.e. ($tt == 'pm')) use the eq operator ($tt eq 'pm')? Try it with that change.
Cheers;