This is a useless proof-of-concept about having anonymous classes in Perl. I did it mainly to check out my understanding of “how Perl works,” not to create anything particularly new.
If this sounds cool, you probably want Class::Anonymous from CPAN.
Apache 2. Although it’s hardly a work worth protecting.