LogoopenSUSE Build Service > Projects
Sign Up | Log In

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.

Source Files

Filename Size Changed Actions
Switch-2.16-perl514.patch 634 Bytes Download File
Switch-2.16.tar.gz 12.9 KB Download File
perl-Switch.changes 815 Bytes Download File
perl-Switch.spec 2.35 KB Download File

Comments for home:Herbster0815:SLES:12 (0)

Login required, please login or signup in order to comment