perl-MooseX-SetOnce-0.200.2-3-omv2015.0.noarch.rpm


Advertisement

Description

perl-MooseX-SetOnce - Write-once, read-many attributes for Moose

Distribution: OpenMandriva Lx 3.0
Repository: OpenMandriva Contrib i586
Package name: perl-MooseX-SetOnce
Package version: 0.200.2
Package release: 3-omv2015.0
Package architecture: noarch
Package type: rpm
Installed size: 39.27 KB
Download size: 16.75 KB
Official Mirror: abf-downloads.openmandriva.org
The 'SetOnce' attribute lets your class have attributes that are not lazy and not set, but that cannot be altered once set. The logic is very simple: if you try to alter the value of an attribute with the SetOnce trait, either by accessor or writer, and the attribute has a value, it will throw an exception. If the attribute has a clearer, you may clear the attribute and set it again.

Alternatives

Provides

  • perl(Moose::Meta::Attribute::Custom::Trait::SetOnce) == 0.200.2
  • perl(MooseX::SetOnce) == 0.200.2
  • perl(MooseX::SetOnce::Accessor) == 0.200.2
  • perl(MooseX::SetOnce::Attribute) == 0.200.2
  • perl-MooseX-SetOnce == 0.200.2-3:2015.0

    Install Howto

    1. Enable OpenMandriva Contrib repository on Install and Remove Software"
    2. Update packages list:
      # urpmi.update -a
    3. Install perl-MooseX-SetOnce rpm package:
      # urpmi perl-MooseX-SetOnce

    Files

    • /usr/lib/perl5/vendor_perl/5.20.1/MooseX/SetOnce.pm
    • /usr/share/doc/perl-MooseX-SetOnce/Changes
    • /usr/share/doc/perl-MooseX-SetOnce/LICENSE
    • /usr/share/doc/perl-MooseX-SetOnce/META.json
    • /usr/share/doc/perl-MooseX-SetOnce/META.yml
    • /usr/share/doc/perl-MooseX-SetOnce/README
    • /usr/share/man/man3/MooseX::SetOnce.3pm.xz
    Advertisement
    Advertisement