Пакет perl-Sub-Infix: Информация

    Исходный пакет: perl-Sub-Infix
    Версия: 0.004-alt2
    Собран:  3 августа 2023 г. 8:27
    Категория: Разработка/Perl
    Сообщить об ошибке в пакете
    Домашняя страница: https://metacpan.org/release/Sub-Infix

    Лицензия: perl
    О пакете: create a fake infix operator
    Описание: 
    Sub::Infix creates fake infix operators using overloading. It doesn't
    use source filters, or the Devel::Declare manpage, or any of that magic. (Though
    Devel::Declare isn't magic enough to define infix operators anyway; I
    know; I've tried.) It's pure Perl, has no non-core dependencies, and
    runs on Perl 5.8.
    
    The price you pay for its simplicity is that you cannot define an
    operator that can be used like this:
    
       my $five = 2 plus 3;
    
    Instead, the operator needs to be wrapped with real Perl operators in
    one of three ways:
    
       my $five = 2 |plus| 3;
       my $five = 2 /plus/ 3;
       my $five = 2 <<plus>> 3;
    
    The advantage of this is that it gives you three different levels of
    operator precedence.
    
    You can also call the function a slightly less weird way:
    
       my $five = plus->(2, 3);

    Список бинарных RPM-пакетов, собираемых из данного SRPM:
    perl-Sub-Infix (noarch)

    Сопровождающий: Igor Vlasenko

    Список участников:
    Igor Vlasenko

      1. rpm-build-perl
      2. perl(B.pm)
      3. perl(Exporter.pm)
      4. perl(ExtUtils/MakeMaker.pm)
      5. perl(Scalar/Util.pm)
      6. perl(Test/Fatal.pm)
      7. perl(Test/More.pm)
      8. perl(overload.pm)
      9. perl-devel
      10. perl-podlators

    Последнее изменение


    29 июля 2023 г. Igor Vlasenko 0.004-alt2
    - to Sisyphus as perl-IO-Prompter dep
    17 июля 2014 г. Igor Vlasenko 0.004-alt1
    - regenerated from template by package builder
    4 марта 2014 г. Igor Vlasenko 0.003-alt1
    - regenerated from template by package builder