I had an interesting job interview on Tuesday. I knew that it would include a programming test, but it turned out that the "test" consisted of sitting me in front of a computer with a specification for a program and asking my to write as much of the program as I could in an hour. It was all about reformatting HTML in various user-specified ways.
"Feel free to install anything you need from CPAN", the interviewer said, "and obviously we don't expect you to finish it."
With judicious application of HTML::Parser and HTML::TagSet I had a program that did everything they'd asked for in about an hour. Actually on the way home I realised that I'd left a huge bug in it, but that didn't seem to matter to them as just after I got home they called me to offer me the job.
Which was nice.