A switch statement for Perl
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.
- Sources inherited from project SUSE:SLE-15:Update
-
Checkout Package
osc checkout SUSE:SLE-15-SP3:Update/perl-Switch && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
Switch-2.17.tar.gz | 0000014490 14.2 KB | |
perl-Switch.changes | 0000001108 1.08 KB | |
perl-Switch.spec | 0000004697 4.59 KB |
Latest Revision
Samu Voutilainen (Smar)
committed
(revision 1)
osc copypac from project:openSUSE.org:SUSE:SLE-15:Update package:perl-Switch revision:a47f1762122c83ee6107f243841bbf33
Comments 0