Date : Mon, 03 Apr 2006 10:39:23 +0200
From : Anders Carlsson <anders.carlsson@...>
Subject: Re: Basic & BBC Basic
On Mon, 3 Apr 2006, Andy Armstrong wrote:
> It's pretty trippy to be able to write stuff like this:
>
> # Encode args as a line of CSV
> sub csv {
> return '"' . join('","', map { (my $i = $_) =~ s/"/""/g; } @_) . '"';
> }
>
> but it's a guilty pleasure; a private indulgence. It's certainly not a
> suitable teaching language.
On the other hand, if you *would* teach Perl to 12 year old kids
with no particular interest in computers, it would separate the
grain from the chaff, so to say.
--
Anders Carlsson