perl-Switch-2.14-10pclos2011.noarch.rpm


Advertisement

Description

perl-Switch - A switch statement for Perl

Property Value
Distribution PCLinuxOS
Repository PCLinuxOS x86_64
Package filename perl-Switch-2.14-10pclos2011.noarch.rpm
Package name perl-Switch
Package version 2.14
Package release 10pclos2011
Package architecture noarch
Package type rpm
Homepage -
License -
Maintainer -
Download size 31.65 KB
Installed size 31.65 KB
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 - - -

Requires

Name Value
perl(Carp) -
perl(Filter::Util::Call) -
perl(Text::Balanced) -
perl-base >= 5.12.3
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsLzma) <= 4.4.6-1
rpmlib(VersionedDependencies) <= 3.0.3-1

Provides

Name Value
perl(Switch) = 2.140.0
perl-Switch = 2.14-10pclos2011

Download

Type URL
Mirror ftp.nluug.nl
Binary Package perl-Switch-2.14-10pclos2011.noarch.rpm
Source Package perl-Switch-2.14-10pclos2011.src.rpm

Install Howto

  1. Enable PCLinuxOS x86_64 repository in /etc/apt/sources.list:
    rpm http://ftp.nluug.nl/pub/os/Linux/distr/pclinuxos/pclinuxos/apt/ pclinuxos/64bit x86_64
  2. Update the package index:
    # apt-get update
  3. Install perl-Switch rpm package:
    # apt-get install perl-Switch

See Also

Package Description
perl-Syntax-Highlight-Perl6-0.73-10pclos2011.noarch.rpm Perl 6 Syntax Highlighter
perl-Sys-HostIP-1.3.1-10pclos2011.noarch.rpm Perl module to get ip address related info
perl-Sys-Hostname-Long-1.4-10pclos2011.noarch.rpm Try every conceivable way to get full hostname
perl-Sys-Load-0.2-10pclos2011.x86_64.rpm A perl5 module that indicate system load
perl-Sys-Mknod-0.02-10pclos2011.noarch.rpm Sys::Mknod - make special files
perl-Sys-Mmap-0.16-1pclos2011.x86_64.rpm Uses mmap to map in a file as a Perl variable
perl-Sys-Proctitle-0.03-10pclos2011.x86_64.rpm Sys::Proctitle - modify proctitle on Linux
perl-Sys-SigAction-0.11-10pclos2011.noarch.rpm Perl extension for Consistent Signal Handling
perl-Sys-Syscall-0.22-10pclos2011.noarch.rpm Perl module to access system calls that Perl doesn't normally provide access to
perl-Sys-Syslog-0.27-10pclos2011.x86_64.rpm Provides same functionality as BSD syslog
perl-TFTP-1-0.0b3.3pclos2011.noarch.rpm TFTP Client class
perl-Task-Weaken-1.03-10pclos2011.noarch.rpm Ensure that a platform has weaken support
perl-Template-DBI-2.64-10pclos2011.noarch.rpm Template interface to the DBI module
perl-Template-GD-2.66-10pclos2011.noarch.rpm GD plugin(s) for the Template Toolkit
perl-Template-Multilingual-1.00-10pclos2011.noarch.rpm Multilingual templates for Template Toolkit
Advertisement
Advertisement