Pluggable smart matching back-ends
102.73 KB
built 2026-10-17 03:02:31 GMT
Description
This module allows you to override the behavior of the smart match operator
("~~"). "use smartmatch $matcher" hooks into the compiler to replace the
smartmatch opcode with a call to a custom subroutine, specified either as
a coderef or as a string, which will have "smartmatch::engine::" prepended to
it and used as the name of a package in which to find a subroutine named
"match". The subroutine will be called with two arguments, the values on the
left and right sides of the smart match operator, and should return the
result.
Dependencies
23 totalRequires22
- findutils
- gcc
- make
- perl(B::Hooks::OP::Check) >= 0.14
- perl(DynaLoader)
- perl(ExtUtils::Depends)
- perl(ExtUtils::MakeMaker) >= 6.76
- perl(File::Find)
- perl(File::Temp)
- perl(List::MoreUtils)
- perl(Module::Runtime)
- perl(Package::Stash)
- perl(Scalar::Util)
- perl(Test::More) >= 0.88
- perl(Test::Script) >= 1.05
- perl(overload)
- perl(parent)
- perl-devel
- perl-generators
- perl-interpreter
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(FileDigests) <= 4.6.0-1
Provides1
- perl-smartmatch = 0.05-42.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
3Name ![]() |
Size |
|---|---|
| perl-smartmatch.spec | 8.86 KB |
| smartmatch-0.05-TRIAL-Fix-building-on-Perl-5.25.1.patch | 94.84 KB |
| smartmatch-0.05-TRIAL.tar.gz | 56.21 KB |
Files 1–3 of 3
Component of
buildroots that installed this RPMNo Buildroots
