Drat - I was hoping I was missing something. Oh well, they tell me that doing things by hand makes you meticulous and careful, and gives you a richer understanding of the problem. I just thought it made me tired ;-)
Is there a reason why the structure I was attempting to use wasn't built into Perl before now? Are there advantages that elude my understanding?