A switch statement for Perl

Edit Package perl-Switch
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.

Refresh
Refresh
Source Files
Filename Size Changed
Switch-2.16.tar.bz2 0000013013 12.7 KB
perl-Switch.changes 0000000465 465 Bytes
perl-Switch.spec 0000003150 3.08 KB
Revision 2 (latest revision is 11)
Sascha Peilicke's avatar Sascha Peilicke (saschpe) committed (revision 2)
Autobuild autoformatter for 66768
Comments 0
openSUSE Build Service is sponsored by