>>>>> "NT" == Nathan Torkington <[EMAIL PROTECTED]> writes:
NT> Piers Cawley writes:
>> > Case/Switch
>> Why? And Damian's already proved it can be done.
NT> Perl's goal is to make easy things easy. I think case/switch is
NT> something that belongs in the core, not in a module. Just because
NT> something can be done now doesn't mean it doesn't deserve tighter
NT> integration in the next version of Perl, or that it can't be done
NT> better.
and damian showed why it should be in the core because of its need to
parse the cases and automatically do the right thing at compile
time. his module suffers a major speed loss having to do all of that at
run time. his proposed syntax and semantics integrate perfectly with
perl and gives it a more powerful switch than almost any other language.
adding his switch to the core is a win/win for all. no more stupid
questions about how to do a switch and we get some very neat semantics
that only a true madman^Wgenius could have created.
i am so glad i caught his switch speecha t tpc4. i saw so very few things.
uri
--
Uri Guttman --------- [EMAIL PROTECTED] ---------- http://www.sysarch.com
SYStems ARCHitecture, Software Engineering, Perl, Internet, UNIX Consulting
The Perl Books Page ----------- http://www.sysarch.com/cgi-bin/perl_books
The Best Search Engine on the Net ---------- http://www.northernlight.com