in reply to Confused by Perl ternary operator

I've seen some references to this in the preceding comments, but nothing that's jumping out and saying "Er..." so I'll say it.

When you say you're thinking that the ternary operator functions like (test) ? true : false you are correct. But what I see is a possible problem with your test...

Er. Never mind me, I'm waiting for dinner to finish, and I'm starving, and so I completely misread the code. That's my story, and I'm sticking to it.