Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.

Thank you for that little lead; nice and neat and simple. I see that grinder had the same idea about the location of the ++0--buttons earlier in that thread too. Maybe I'll have a little tinker with this..