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
CommitLineData
74a6a946 1==============================================================================
55a1c97c 2 Release of version 2.05 of Switch
74a6a946
JH
3==============================================================================
4
5
6NAME
7 Switch - A switch statement for Perl
8
9DESCRIPTION
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
18AUTHOR
19 Damian Conway (damian@conway.org)
20
21COPYRIGHT
55a1c97c
JH
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.
74a6a946
JH
25
26
27==============================================================================
28
55a1c97c 29CHANGES IN VERSION 2.05
74a6a946
JH
30
31
55a1c97c 32 - Changed licence for inclusion in core distribution
74a6a946 33
55a1c97c 34 - Added new test file for non-fallthrough and nested switches
74a6a946
JH
35
36
37==============================================================================
38
39AVAILABILITY
40
41Switch has been uploaded to the CPAN
42and is also available from:
43
44 http://www.csse.monash.edu.au/~damian/CPAN/Switch.tar.gz
45
46==============================================================================