in reply to Programming puzzles using PERL

Encouraging people to use Perl is a worthy goal, but I suspect many will not be encouraged by badly formatted code examples. At the very least run your samples through Perltidy and use strict in your examples.

Also, there is no "PERL".