Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help

The search service can find package by either name (apache), provides(webserver), absolute file names (/usr/bin/apache), binaries (gprof) or shared libraries (libXm.so.2) in standard path. It does not support multiple arguments yet...

The System and Arch are optional added filters, for example System could be "redhat", "redhat-7.2", "mandrake" or "gnome", Arch could be "i386" or "src", etc. depending on your system.

System Arch

RPM resource perl-MooseX-Attribute-ENV

This is a Moose attribute trait that you use when you want the default value for an attribute to be populated from the %ENV hash. So, for example if you have set the environment variable USERNAME = 'John' you can do: package MyApp::MyClass; use Moose; use MooseX::Attribute::ENV; has 'username' => (is=>'ro', traits=>['ENV']); package main; my $myclass = MyApp::MyClass->new(); print $myclass->username; # STDOUT => 'John'; This is basically similar functionality to something like: has 'attr' => ( is=>'ro', default=> sub { $ENV{uc 'attr'}; }, ); but this module has a few other features that offer merit, as well as being a simple enough attribute trait that I hope it can serve as a learning tool. If the named key isn't found in %ENV, then defaults will execute as normal.

Found 1 sites for perl-MooseX-Attribute-ENV

Found 8 RPM for perl-MooseX-Attribute-ENV

PackageSummaryDistributionDownload
perl-MooseX-Attribute-ENV-0.02-2.29.noarch.htmlSet default of an attribute to a value from %ENVOpenSuSE Ports Tumbleweed for noarchperl-MooseX-Attribute-ENV-0.02-2.29.noarch.rpm
perl-MooseX-Attribute-ENV-0.02-2.25.noarch.htmlSet default of an attribute to a value from %ENVOpenSuSE Tumbleweed for noarchperl-MooseX-Attribute-ENV-0.02-2.25.noarch.rpm
Set default of an attribute to a value from %ENVperl-MooseX-Attribute-ENV-0.02-2.8.noarch.rpm
perl-MooseX-Attribute-ENV-0.02-bp156.3.1.noarch.htmlSet default of an attribute to a value from %ENVOpenSuSE Leap 15.6 for noarchperl-MooseX-Attribute-ENV-0.02-bp156.3.1.noarch.rpm
perl-MooseX-Attribute-ENV-0.02-bp155.2.8.noarch.htmlSet default of an attribute to a value from %ENVOpenSuSE Leap 15.5 for noarchperl-MooseX-Attribute-ENV-0.02-bp155.2.8.noarch.rpm
perl-MooseX-Attribute-ENV-0.02-bp154.1.17.noarch.htmlSet default of an attribute to a value from %ENVOpenSuSE Leap 15.4 for noarchperl-MooseX-Attribute-ENV-0.02-bp154.1.17.noarch.rpm
perl-MooseX-Attribute-ENV-0.02-bp153.1.12.noarch.htmlSet default of an attribute to a value from %ENVOpenSuSE Leap 15.3 for noarchperl-MooseX-Attribute-ENV-0.02-bp153.1.12.noarch.rpm
perl-MooseX-Attribute-ENV-0.02-lp152.3.2.noarch.htmlSet default of an attribute to a value from %ENVOpenSuSE Leap 15.2 for noarchperl-MooseX-Attribute-ENV-0.02-lp152.3.2.noarch.rpm

Generated by rpm2html 1.6

Fabrice Bellet