A switch statement for Perl
http://search.cpan.org/dist/Switch/
The Switch.pm module implements a generalized case mechanism that covers
most (but not all) of the numerous possible combinations of switch and case
values described above.
The module augments the standard Perl syntax with two new control
statements: 'switch' and 'case'. The 'switch' statement takes a single
scalar argument of any type, specified in parentheses. 'switch' stores this
value as the current switch value in a (localized) control variable. The
value is followed by a block which may contain one or more Perl statements
(including the 'case' statement described below). The block is
unconditionally executed once the switch value has been cached.
- Developed at devel:languages:perl
- Sources inherited from project openSUSE:Factory
-
5
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Factory:PowerPC/perl-Switch && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
Switch-2.16-perl514.patch | 0000000634 634 Bytes | |
Switch-2.16.tar.gz | 0000013185 12.9 KB | |
perl-Switch.changes | 0000000815 815 Bytes | |
perl-Switch.spec | 0000002410 2.35 KB |
Revision 6 (latest revision is 11)
Stephan Kulow (coolo)
committed
(revision 6)
replace license with spdx.org variant
Comments 0