Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] Perl splitting help


On Sun, 23 Jul 2000, Adam Moore wrote:

> 
> > >         ($name, $number) = split /\|/;
> [..]
> > >        s/\|/<\/td><td>/g;
> > Am I alone in believing that is _precisely_ what is wrong with perl?
> 
> Then again, churn out crap like like this[2] and your point seems quite
> valid. :-)

Oh Adam, now that hurts. Any perl programmer knows there is a difference
between what you would write in a program versus a one-up-manship of
finding another way to write something with less lines. Once someone beat
me to the obvious ($name,$number) = split /\|/; the only avenue left was
to obsfercate and reduce. :-)

Rodos

-- 
rodos@xxxxxxxxxxx | Real programmers don't work from 9 to 5. If any real
Camion Technology | programmers are around at 9am it's because they were
+61 2 9873 5105   | up all night.                                 [Anon]