in reply to Internal error from Perl

I take it this must be a Perl bug, since I don't see what I could be doing wrong in something so simple.

Never say that. I learned this from practice.