perl-Switch-2.160.0-6-rosa2014.1.noarch.rpm


Advertisement

Description

perl-Switch - A switch statement for Perl

Property Value
Distribution ROSA 2014.1
Repository ROSA Contrib x86_64
Package name perl-Switch
Package version 2.160.0
Package release 6-rosa2014.1
Package architecture noarch
Package type rpm
Installed size 38.41 KB
Download size 21.32 KB
Official Mirror mirror.rosalab.ru
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.
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.

Alternatives

Package Version Architecture Repository
perl-Switch-2.170.0-1-rosa2014.1.noarch.rpm 2.170.0 noarch ROSA Contrib Updates
perl-Switch-2.170.0-1-rosa2014.1.noarch.rpm 2.170.0 noarch ROSA Contrib Updates
perl-Switch-2.160.0-6-rosa2014.1.noarch.rpm 2.160.0 noarch ROSA Contrib
perl-Switch - - -

Requires

Name Value
perl(Carp) -
perl(Filter::Util::Call) -
perl(Text::Balanced) -
perl(abi) >= 5.18.2

Provides

Name Value
perl(Switch) == 2.160.0
perl-Switch == 2.160.0-6:2014.1

Download

Type URL
Binary Package perl-Switch-2.160.0-6-rosa2014.1.noarch.rpm
Source Package perl-Switch-2.160.0-6.src.rpm

Install Howto

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

Files

Path
/usr/lib/perl5/vendor_perl/5.18.2/Switch.pm
/usr/share/doc/perl-Switch/Changes
/usr/share/doc/perl-Switch/README
/usr/share/man/man3/Switch.3pm.xz

Changelog

2014-07-25 - Denis Silakov <denis.silakov@rosalab.ru> 2.160.0-6
+ Revision: 6e7ebe6
- MassBuild#464: Increase release tag

See Also

Package Description
perl-Syntax-Highlight-Engine-Kate-0.90.0-2-rosa2014.1.x86_64.rpm A Plugin for Component-Pascal syntax highlighting
perl-Syntax-Highlight-Perl6-0.880.0-5-rosa2014.1.noarch.rpm Perl 6 Syntax Highlighter
perl-Syntax-Keyword-Junction-0.3.8-1-rosa2014.1.noarch.rpm Perl6 style Junction operators in Perl5
perl-Sys-HostIP-1.810.0-4-rosa2014.1.noarch.rpm Perl module to get ip address related info
perl-Sys-Info-0.730.0-4-rosa2014.1.noarch.rpm Fetch information from the host system
perl-Sys-Info-Base-0.780.0-4-rosa2014.1.noarch.rpm Base classes for Sys::Info
perl-Sys-Info-Driver-Linux-0.790.300-3-rosa2014.1.x86_64.rpm Linux driver for Sys::Info
perl-Sys-Load-0.200.0-6-rosa2014.1.x86_64.rpm A perl5 module that indicate system load
perl-Sys-Mknod-0.20.0-5-rosa2014.1.noarch.rpm Sys::Mknod - make special files
perl-Sys-Proctitle-0.40.0-5-rosa2014.1.x86_64.rpm Sys::Proctitle - modify proctitle on Linux
perl-Sys-SigAction-0.210.0-3-rosa2014.1.noarch.rpm Perl extension for Consistent Signal Handling
perl-Sys-Syscall-0.250.0-3-rosa2014.1.noarch.rpm Perl module to access system calls that Perl doesn't normally provide access to
perl-Sys-Syslog-0.330.0-3-rosa2014.1.x86_64.rpm Provides same functionality as BSD syslog
perl-Sys-Virt-0.9.9-3-rosa2014.1.x86_64.rpm Interface to libvirt virtual machine management API
perl-Sysadm-Install-0.440.0-2-rosa2014.1.noarch.rpm Typical installation tasks for system administrators
Advertisement
Advertisement