| CPAN Ratings Switch reviews | |
| Home | Search | About | Bitcard Account | Login |
RSS | Module Info | Add a review of Switch
With all due respect to the author, Switch is no longer necessary in 5.10+ as 5.10+ already introduced smart matching and given(). given() is superior because it doesn't introduce compile-time overhead, doesn't mess line numbers, and should be faster (simply because smart match is fast, and Switch is not utilizing it).
You have been using 5.10+, right? (Since 5.8 is no longer officially supported)
Steven Haryanto - 2011-02-14T18:29:00
An excellent and extremely versatile switch/case that I would use all the time if it did not completely confuse the Perl interpreter's idea of line numbering. Introduction of this switch makes debugging a nightmare, throwing off all line nubmer reporting in the module in which it is used.
Lee Goddard - 2005-09-30T03:01:20
What can I say? It's a switch statement for Perl. I use it a lot because sometimes I just really prefer doing things with a switch. And it works like a charm! Wonderful stuff.
Earle Martin - 2003-09-13T22:13:09
|
Perl.org sites
: bugs
| dev
| history
| jobs
| learn
| lists
| use
Site Information and Contacts |
|