perl-Switch - A switch statement for Perl

Property Value
Distribution ROSA Enterprise Desktop
Repository ROSA Contrib Updates x86_64
Package name perl-Switch
Package version 2.160.0
Package release 3-rosa.lts2012.0
Package architecture noarch
Package type rpm
Installed size 38.33 KB
Download size 21.10 KB
Official Mirror
The 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.
A 'case' statement takes a single scalar argument (in mandatory parentheses
if it's a variable; otherwise the parens are optional) and selects the
appropriate type of matching between that argument and the current switch
value. The type of matching used is determined by the respective types of
the switch value and the 'case' argument, as specified in Table 1. If the
match is successful, the mandatory block associated with the 'case'
statement is executed.


Package Version Architecture Repository
perl-Switch-2.160.0-3-rosa.lts2012.0.noarch.rpm 2.160.0 noarch ROSA Contrib Updates
perl-Switch - - -


Name Value
perl(Carp) -
perl(Filter::Util::Call) -
perl(Text::Balanced) -


Name Value
perl(Switch) == 2.160.0
perl-Switch == 2.160.0-3:2012.0


Type URL
Binary Package perl-Switch-2.160.0-3-rosa.lts2012.0.noarch.rpm
Source Package perl-Switch-2.160.0-3.src.rpm

Install Howto

  1. Enable ROSA Contrib Updates repository on Install and Remove Software
  2. Update packages list:
    # urpmi.update -a
  3. Install perl-Switch rpm package:
    # urpmi perl-Switch




2011-04-16 - Funda Wang <> 2.160.0-3mdv2011.0
+ Revision: 653620
- rebuild for updated spec-helper
2010-07-28 - J?r?me Quelin <> 2.160.0-2mdv2011.0
+ Revision: 562434
- rebuild
2009-11-06 - J?r?me Quelin <> 2.160.0-1mdv2011.0
+ Revision: 460773
- update to 2.16

See Also

Package Description
perl-Syntax-Highlight-Engine-Kate-0.60.0-1-rosa.lts2012.0.x86_64.rpm A Plugin for Component-Pascal syntax highlighting
perl-Syntax-Highlight-Perl6-0.880.0-2-rosa.lts2012.0.noarch.rpm Perl 6 Syntax Highlighter
perl-Sys-HostIP-1.810.0-1-rosa.lts2012.0.noarch.rpm Perl module to get ip address related info
perl-Sys-Info-Base-0.780.0-1-rosa.lts2012.0.x86_64.rpm Base classes for Sys::Info
perl-Sys-Info-Driver-Linux-0.780.0-1-rosa.lts2012.0.x86_64.rpm Linux driver for Sys::Info
perl-Sys-Load-0.200.0-3-rosa.lts2012.0.x86_64.rpm A perl5 module that indicate system load
perl-Sys-Mknod-0.20.0-2-rosa.lts2012.0.noarch.rpm Sys::Mknod - make special files
perl-Sys-Proctitle-0.40.0-2-rosa.lts2012.0.x86_64.rpm Sys::Proctitle - modify proctitle on Linux
perl-Sys-SigAction-0.150.0-1-rosa.lts2012.0.noarch.rpm Perl extension for Consistent Signal Handling
perl-Sys-Syscall-0.230.0-2-rosa.lts2012.0.noarch.rpm Perl module to access system calls that Perl doesn't normally provide access to
perl-Sys-Syslog-0.290.0-1-rosa.lts2012.0.x86_64.rpm Provides same functionality as BSD syslog
perl-Sys-Virt-0.2.8-1-rosa.lts2012.0.x86_64.rpm Interface to libvirt virtual machine management API
perl-Sysadm-Install-0.350.0-1-rosa.lts2012.0.noarch.rpm Typical installation tasks for system administrators
perl-TFTP-1-0.0b3.3-rosa.lts2012.0.noarch.rpm TFTP Client class
perl-Tee-0.140.0-2-rosa.lts2012.0.noarch.rpm Pure Perl emulation of GNU tee