- Name: perl-smartmatch
- Version: 0.05
- Release: 1.fc20
- Epoch:
- Group: Development/Libraries
- License: GPL+ or Artistic
- Url: http://search.cpan.org/dist/smartmatch/
- Summary: Pluggable smart matching back-ends
- Architecture: x86_64
- Size: 37407
- Distribution: Fedora Project
- Vendor: Fedora Project
- Packager: Fedora Project
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.
- OptFlags: -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic
- Cookie:
- Buildhost: buildhw-12.phx2.fedoraproject.org
Sources packages:
Other version of this rpm: