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.
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.
Package | Summary | Distribution | Download |
perl-MooseX-Attribute-ENV-0.02-2.31.noarch.html | Set default of an attribute to a value from %ENV | OpenSuSE Ports Tumbleweed for noarch | perl-MooseX-Attribute-ENV-0.02-2.31.noarch.rpm |
perl-MooseX-Attribute-ENV-0.02-2.28.noarch.html | Set default of an attribute to a value from %ENV | OpenSuSE Tumbleweed for noarch | perl-MooseX-Attribute-ENV-0.02-2.28.noarch.rpm |
Set default of an attribute to a value from %ENV | perl-MooseX-Attribute-ENV-0.02-2.11.noarch.rpm | ||
perl-MooseX-Attribute-ENV-0.02-bp156.3.1.noarch.html | Set default of an attribute to a value from %ENV | OpenSuSE Leap 15.6 for noarch | perl-MooseX-Attribute-ENV-0.02-bp156.3.1.noarch.rpm |
perl-MooseX-Attribute-ENV-0.02-bp155.2.8.noarch.html | Set default of an attribute to a value from %ENV | OpenSuSE Leap 15.5 for noarch | perl-MooseX-Attribute-ENV-0.02-bp155.2.8.noarch.rpm |
Generated by rpm2html 1.6