Revision history for Perl extension Switch.
0.01 Wed Dec 15 05:58:01 1999
- original version; created by h2xs 1.18
2.00 Mon Jan 8 17:12:20 2001
- Complete revamp (including syntactic and semantic changes)
in line with proposed Perl 6 semantics.
2.01 Tue Jan 9 07:19:02 2001
- Fixed infinite loop problem under 5.6.0 caused by change
in goto semantics between 5.00503 and 5.6.0
(thanks Scott!)
2.02 Thu Apr 26 12:01:06 2001
- Fixed unwarranted whitespace squeezing before quotelikes
(thanks Ray)
- Fixed pernicious bug that cause switch to fail to recognize
certain complex switch values
2.03 Tue May 15 09:34:11 2001
- Fixed bug in 'fallthrough' specifications.
- Silenced gratuitous warnings for undefined values as
switch or case values
2.04 Mon Jul 30 13:17:35 2001
- Suppressed 'undef value' warning under -w (thanks Michael)
- Added support for Perl 6 given..when syntax
2.05 Mon Sep 3 08:13:25 2001
- Changed licence for inclusion in core distribution
- Added new test file for non-fallthrough and nested switches
2.06 Wed Nov 14 16:18:54 2001
- Fixed parsing of ternary operators in Switch'ed source code
(at the expense of no longer correctly parsing ?...? regexes)
(thanks Mark)
- Fixed the parsing of embedded POD (thanks Brent)
- Fixed bug encountered when -s or -m file test used (thanks Jochen)
2.07 Wed May 15 15:19:28 2002
- Corified tests
- Updated "Perl6" syntax to reflect current design
(as far as possible -- can't eliminate need to parenthesize
variables, since they're ambiguous in Perl 5)
2.09 Wed Jun 12 22:13:30 2002
- Removed spurious debugging statement
2.10 Mon Dec 29 2003
- Introduce the "default" keyword for the Perl 6 syntax
- Raise the limitation on source file length to 1 million characters
2.11 Wed Nov 22 2006
- Fix documentation issues
- Fix installation directory for perls >= 5.7.3 (Slaven Rezic)
2.12 Mon Dec 11 2006
- Fix bug in parsing POD at end of document (Valentin Guignon)
2.13 Sun Feb 25 2007
- Fix bug in parsing division statements (Wolfgang Laun)
2.14 Mon Dec 29 2008
- Make Switch.pm skip POD like perl does
Patch provided by Daniel Klein <danielklein--airpost.net>
(bleadperl commit 39bcdda02ea582e7bdf8b0cf2e7186e89c6baea9)
- Fix line numbering issues with POD filtered by Switch.pm
Patch provided by Daniel Klein <danielklein--airpost.net>
(bleadperl commit 6a9befb105d93024902eb178dab77655333f1829)
- Switch.pm doesn't appear to support plain arrays and hashes in case().
(bleadperl commit cd3d9d47255d3080961ba7b58c9a145c7b45b905)
- Let us direct Switch questions to P5P.
(bleadperl commit b62fb10ea98565ce5572416500e1e3517cb17d33)
- POD nits from Frank Wiegand <frank.wiegand@gmail.com>
(bleadperl commit 3b46207fed7bf69caa32c27c04bd239cfb64cb53)
2.15 Tue Oct 20 2009
- Deprecate shipping Switch.pm in the core distribution.
(Nicholas Clark)
2.16 Fri Oct 23 2009
- For Perl 5.11+, install into 'site', not 'perl'
2.17 2014-03-18
- tests fixed
- patch by Father Chrysostomos
- many warnings
- recommendation to use given/when