A switch statement for Perl
25.22 KB
built 2026-10-17 00:45:08 GMT
Description
Switch.pm provides the syntax and semantics for an explicit case mechanism for
Perl. The syntax is minimal, introducing only the keywords C<switch> and
C<case> and conforming to the general pattern of existing Perl control
structures. The semantics are particularly rich, allowing any one (or more) of
nearly 30 forms of matching to be used when comparing a switch value with its
various cases.
Dependencies
16 totalRequires14
- perl(:VERSION) >= 5.5.0
- perl(Carp)
- perl(Filter::Util::Call)
- perl(Text::Balanced)
- perl(deprecate)
- perl(if)
- perl(overload)
- perl(strict)
- perl(vars)
- perl-libs
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(FileDigests) <= 4.6.0-1
- rpmlib(PayloadFilesHavePrefix) <= 4.0-1
- rpmlib(PayloadIsZstd) <= 5.4.18-1
Provides2
- perl(Switch) = 2.17
- perl-Switch = 2.17-36.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
5Name ![]() |
Size |
|---|---|
| /usr/share/doc/perl-Switch | 0.00 B |
| /usr/share/doc/perl-Switch/Changes | 3.12 KB |
| /usr/share/doc/perl-Switch/README | 1.08 KB |
| /usr/share/man/man3/Switch.3pm.gz | 6.16 KB |
| /usr/share/perl5/vendor_perl/Switch.pm | 28.19 KB |
Files 1–5 of 5
Component of
buildroots that installed this RPMNo Buildroots
