A Perl Chicken-and-egg problem

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Mon Jun 23 16:22:20 UTC 2008


On Mon, Jun 23, 2008 at 09:56:51AM -0400, Madison Kelly wrote:
> Perl has a particular ability to be made insanely complex, if that is 
> your goal. That said, it can also be made elegantly clear and simple if, 
> again, that is your goal.
> 
> Please don't trash a language because of ... abuse? ... but some users 
> of it.

$#foo is simply an ugly solution.  So is $$foo and $@foo, which are also
often necesary to make sensible code.  That is hardly abuse, simply ugly
syntax.  Not that *foo and &foo is nice in C either, but at least C
isn't quite as ugly.

Why is it %bar = ... but then $bar{'blah'} ?  Sometimes @foo, othertimes
$foo[x], which has nothing to do with $foo.  Argh!

Damn useful language, but oh so ugly and stupid in syntax.

-- 
Len Sorensen
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list