SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-Object-Declare rpm build for : OpenSuSE. For other distributions click perl-Object-Declare.

Name : perl-Object-Declare
Version : 0.25 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : lp155.1.1 Date : 2023-07-20 15:36:41
Group : Development/Libraries/Perl Source RPM : perl-Object-Declare-0.25-lp155.1.1.src.rpm
Size : 0.02 MB
Packager : https://www_suse_com/
Summary : Declarative object constructor
Description :
This module exports one function, \'declare\', for building named objects
with a declarative syntax, similar to how Jifty::DBI::Schema defines its
columns.

In list context, \'declare\' returns a list of name/object pairs in the order
of declaration (allowing duplicates), suitable for putting into a hash. In
scalar context, \'declare\' returns a hash reference.

Using a flexible \'import\' interface, one can change exported helper
functions names (_declarator_), words to link labels and values together
(_copula_), and the table of named classes to declare (_mapping_):

use Object::Declare
declarator => [\'declare\'], # list of declarators
copula => { # list of words, or a map
is => \'\', # from copula to label prefixes,
are => \'\', # or to callback that e.g. turns
has => sub { has => AATT_ }, # \"has X\" to \"has is X\" and

},
aliases => { # list of label aliases:
more => \'less\', # turns \"is more\" into \"is less\"

},
mapping => {
column => \'MyApp::Column\', # class name to call ->new to
param => sub { # arbitrary coderef also works
bless(\\AATT_, \'MyApp::Param\');
},
};

After the declarator block finishes execution, all helper functions are
removed from the package. Same-named functions (such as \'&is\' and \'&are\')
that existed before the declarator\'s execution are restored correctly.

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-O/15.5/noarch

Content of RPM  Provides Requires

Download
ftp.icm.edu.pl  perl-Object-Declare-0.25-lp155.1.1.noarch.rpm
     

Provides :
perl(Object::Declare)
perl(Object::Declare::Katamari)
perl-Object-Declare

Requires :
perl(:MODULE_COMPAT_5.26.1)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.26.1/Object
/usr/lib/perl5/vendor_perl/5.26.1/Object/Declare.pm
/usr/share/doc/packages/perl-Object-Declare
/usr/share/doc/packages/perl-Object-Declare/Changes
/usr/share/doc/packages/perl-Object-Declare/README
/usr/share/doc/packages/perl-Object-Declare/README.md
/usr/share/licenses/perl-Object-Declare
/usr/share/licenses/perl-Object-Declare/LICENSE
/usr/share/man/man3/Object::Declare.3pm.gz

 
ICM