| 1 |
root |
1.1 |
============================================================================== |
| 2 |
|
|
Release of version 2.10 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 |
|
|
Maintained by Rafael Garcia-Suarez (rgarciasuarez@free.fr) |
| 21 |
|
|
|
| 22 |
|
|
COPYRIGHT |
| 23 |
|
|
Copyright (c) 1997-2003, Damian Conway. All Rights Reserved. |
| 24 |
|
|
This module is free software. It may be used, redistributed |
| 25 |
|
|
and/or modified under the same terms as Perl itself. |
| 26 |
|
|
|
| 27 |
|
|
|
| 28 |
|
|
============================================================================== |
| 29 |
|
|
|
| 30 |
|
|
CHANGES IN VERSION 2.10 |
| 31 |
|
|
|
| 32 |
|
|
|
| 33 |
|
|
- Introduce the "default" keyword for the Perl 6 syntax |
| 34 |
|
|
- Raise the limitation on source file length to 1 million characters |
| 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 |
|
|
============================================================================== |