perl-Switch

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.

openSUSE Leap 16.0 没有可用的官方软件包

发行版

openSUSE Tumbleweed

openSUSE Leap 16.0

openSUSE Leap 15.6

openSUSE Leap 15.5

SLFO 1.2

openSUSE Backports for SLE 15 SP7

openSUSE Backports for SLE 15 SP4

openSUSE Backports for SLE 15 SP3

SUSE SLE-16 (in development)

SUSE SLE-15-SP2

SUSE SLE-12-SP5

CentOS CentOS-7

不受支持的发行版

下列发行版未被官方支持。使用这些软件包需要您自担风险。