Just finished interviewing two programmers. One we thought of as a junior developer and the other seemed to be much more mature in his coding ability. As it turns out, the "junior" turned in a much more mature program for his coding test and, though he had a slight bug, I was pleasantly suprised. The one I thought would be better just threw a bunch of code in a while loop, didn't modularize anything, used 'chop' instead of 'chomp', didn't know how to use Perl's time functions (though he had both Perldoc and Programming Perl available) and generally turned in something that I simply wasn't too impressed with.
The test, incidentally, was basically to display a menu which allowed you to list a log file (in the format of your choice), add a datestamped entry to the log file or exit. Pretty simple stuff that I whipped out in five minutes. Both of them took almost half an hour