Cool/useful short examples of Perl?

Nicholas Clark nick at
Mon May 30 23:23:33 BST 2011

On Mon, May 30, 2011 at 05:47:33PM -0400, Uri Guttman wrote:

> learn. it happens to use them all in one basic line. it is all a very
> teachable thing to anyone who knows what a hash, sub call and regex
> are. i don't expect newbies to know how to read that line but i do
> expect them to able to learn from it. that is what proper training is
> about. not feeding pablum to kiddies.

I agree that it's a wonderful basis for a lesson. But it's not what Leo is
looking for. He wrote:

    They don't have to use CPAN modules, one liners are fine as long as it
    is simple to see what they do.

You've stated that you *don't* expect newbies to know how to read that line.
Leo is currently looking for things that newbies could be expected to read.

Nicholas Clark

More information about the mailing list