This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Can't right now twist my brain to figure out
[perl5.git] / lib / Switch / README
1 ==============================================================================
2                       Release of version 2.06 of Switch
3 ==============================================================================
4
5
6 NAME
7     Switch - A switch statement for Perl
8
9 DESCRIPTION
10
11     Switch.pm provides the syntax and semantics for an explicit case
12     mechanism for Perl. The syntax is minimal, introducing only the
13     keywords C<switch> and C<case> and conforming to the general pattern
14     of existing Perl control structures. The semantics are particularly
15     rich, allowing any one (or more) of nearly 30 forms of matching to
16     be used when comparing a switch value with its various cases.
17
18 AUTHOR
19     Damian Conway (damian@conway.org)
20
21 COPYRIGHT
22     Copyright (c) 1997-2001, Damian Conway. All Rights Reserved.
23     This module is free software. It may be used, redistributed
24         and/or modified under the same terms as Perl itself.
25
26
27 ==============================================================================
28
29 CHANGES IN VERSION 2.06
30
31
32         - Fixed parsing of ternary operators in Switch'ed source code
33           (at the expense of no longer correctly parsing ?...? regexes)
34           (thanks Mark)
35
36         - Fixed the parsing of embedded POD (thanks Brent)
37
38         - Fixed bug encountered when -s or -m file test used (thanks Jochen)
39
40
41 ==============================================================================
42
43 AVAILABILITY
44
45 Switch has been uploaded to the CPAN
46 and is also available from:
47
48         http://www.csse.monash.edu.au/~damian/CPAN/Switch.tar.gz
49
50 ==============================================================================