This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
If an encoding is set by -M/-m, it must be in
[perl5.git] / lib / Switch / README
1 ==============================================================================
2                       Release of version 2.05 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.05
30
31
32         - Changed licence for inclusion in core distribution
33
34         - Added new test file for non-fallthrough and nested switches
35
36
37 ==============================================================================
38
39 AVAILABILITY
40
41 Switch has been uploaded to the CPAN
42 and is also available from:
43
44         http://www.csse.monash.edu.au/~damian/CPAN/Switch.tar.gz
45
46 ==============================================================================