in reply to Beautiful Perl

You're probably going to bore your visitors with any kind of beautiful code, whatever this means for you or anyone else. Why? Because they haven't done any "programming" more complicated than HTML, so what do you expect to be their taste in fact of programming beauty?

My personal 2c would be showing them the Schwartzian Transform: marvelous, but not exactly what's readable for the newbie. But maybe all splendid Perl isn't immediately readable for the newbie, because (s)he is (at best) used to read and understand the basic control structures common to many languages, surely not some corners that make Perl an everyday discover (for me). Continuing on this line, any simple use of regex make Perl very attractive for texts, and beauty often means attractive :)

But if I were you, given your expected audience, I would put this, which is probably the most beauty piece of code I've seen in years (and it keeps being beauty even when you de-obfuscate it :).

Flavio

Don't fool yourself.