1 ==============================================================================
2 Release of version 2.04 of Switch
3 ==============================================================================
7 Switch - A switch statement for Perl
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.
19 Damian Conway (damian@conway.org)
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)
28 ==============================================================================
30 CHANGES IN VERSION 2.04
33 - Suppressed 'undef value' warning under -w (thanks Michael)
35 - Added support for Perl 6 given..when syntax
38 ==============================================================================
42 Switch has been uploaded to the CPAN
43 and is also available from:
45 http://www.csse.monash.edu.au/~damian/CPAN/Switch.tar.gz
47 ==============================================================================