Hi,

Larry Wall mentions this in the Apocalypse 4 document for Perl 6:


    "Another argument against having a switch statement in Perl 6 is
that we never had it in the first five versions of Perl. But it would
be incorrect to say that we didn't miss it. What actually happened was
that every time we started discussing how to add a switch statement,
it wasn't obvious how far to go. A switch statement in Perl ought to
do more than a switch statement in C (or in most any other language,
for that matter). So the fact that we haven't added a switch statement
so far says more about how hard it is to design a good one than about
how much we wanted a lousy one. Eventually the ever inventive Damian
Conway came up with his famous design, with a Perl 5 module as proof
of concept, and pretty much everyone agreed that he was on the right
track, for some definition of "right" (and "track"). This RFC is
essentially that design (not surprisingly, since Damian wrote it), so
it will be accepted, albeit with several tweaks. "


Link:

http://dev.perl.org/perl6/apocalypse/A04.html

Jonathan Paton

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to