in reply to Re: conditions not working
in thread conditions not working

Did you test your solution with "use warnings;"?

You still have a useless use of a constant in void context. (Hint: comma operator)

Dave

"If I had my life to do over again, I'd be a plumber." -- Albert Einstein