This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Upgrade to Switch 2.04, now with Perl 6 given+when.
[perl5.git] / lib / Switch / README
1 ==============================================================================
2                       Release of version 2.04 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-2000, Damian Conway. All Rights Reserved. This module
23     is free software. It may be used, redistributed and/or modified under
24     the terms of the Perl Artistic License (see
25     http://www.perl.com/perl/misc/Artistic.html)
26
27
28 ==============================================================================
29
30 CHANGES IN VERSION 2.04
31
32
33         - Suppressed 'undef value' warning under -w (thanks Michael)
34
35         - Added support for Perl 6 given..when syntax
36
37
38 ==============================================================================
39
40 AVAILABILITY
41
42 Switch has been uploaded to the CPAN
43 and is also available from:
44
45         http://www.csse.monash.edu.au/~damian/CPAN/Switch.tar.gz
46
47 ==============================================================================