in reply to problem with while loop

Probably the global %logHash is causing you grief. Try moving it inside compare.


Perl reduces RSI - it saves typing