[prev] [thread] [next] [lurker] [Date index for 2003/09/14]
> > In Perl, there's no switch, there's half a dozen alternate ways to > > do the same thing... > use Switch; BUGS There are undoubtedly serious bugs lurking somewhere in code this funky :-) LIMITATION Due to the heuristic nature of Switch.pm's source parsing, the presence of regexes specified with raw ?...? delimiters may cause mysterious errors. The workaround is to use m?...? instead. Um, I think that should be spelled "don't use Switch;". Of course "mysterious errors" are something one gets used to in Perl so that's not necessarily that much of an issue. > It didn't exist, so someone wrote it. In a reflective language it doesn't take a Leonardo class Perl hacker to produce a flakey implementation of "switch", it's something a casual user of the language can do reliably and routinely. > This is why Perl is great, and why I hate every other language ever[0]. Try any Lisp-family language, or if you really get off on obscurity there's always the Forth family or APL to tune your funk up to 11.There's stuff above here
Generated at 14:02 on 01 Jul 2004 by mariachi 0.52