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

perl-Data-Hierarchy-0.34-131.31 RPM for noarch

From OpenSuSE Tumbleweed for noarch

Name: perl-Data-Hierarchy Distribution: openSUSE Tumbleweed
Version: 0.34 Vendor: openSUSE
Release: 131.31 Build date: Tue Dec 6 11:59:28 2011
Group: Development/Libraries/Perl Build host: reproducible
Size: 22073 Source RPM: perl-Data-Hierarchy-0.34-131.31.src.rpm
Packager: https://bugs.opensuse.org
Url: http://search.cpan.org/dist/Data-Hierarchy/
Summary: Handle data in a hierarchical structure
the Data::Hierarchy manpage provides a simple interface for manipulating
inheritable data attached to a hierarchical environment (like a
filesystem).

One use of the Data::Hierarchy manpage is to allow an application to
annotate paths in a real filesystem in a single compact data structure.
However, the hierarchy does not actually need to correspond to an actual
filesystem.

Paths in a hierarchy are referred to in a Unix-like syntax; '"/"' is the
root "directory". (You can specify a different separator character than the
slash when you construct a Data::Hierarchy object.) With the exception of
the root path, paths should never contain trailing slashes. You can
associate properties, which are arbitrary name/value pairs, with any path.
(Properties cannot contain the undefined value.) By default, properties are
inherited by child paths: thus, if you store some data at '/some/path':

    $tree->store('/some/path', {color => 'red'});

you can fetch it again at a '/some/path/below/that':

    print $tree->get('/some/path/below/that')->{'color'};
    

On the other hand, properties whose names begin with dots are uninherited,
or "sticky":

    $tree->store('/some/path', {'.color' => 'blue'});
    print $tree->get('/some/path')->{'.color'};            # prints blue
    print $tree->get('/some/path/below/that')->{'.color'}; # undefined

Note that you do not need to (and in fact, cannot) explicitly add "files"
or "directories" to the hierarchy; you simply add and delete properties to
paths.

Provides

Requires

License

Artistic-1.0 or GPL-1.0+

Changelog

* Tue Dec 06 2011 coolo@suse.com
  - regenerate with cpanspec to fix license
* Fri Nov 18 2011 coolo@suse.com
  - use original .tar.gz
* Wed Dec 01 2010 coolo@novell.com
  - switch to perl_requires macro
* Mon Nov 29 2010 coolo@novell.com
  - remove /var/adm/perl-modules
* Mon Nov 29 2010 coolo@novell.com
  * recreated by cpanspec 1.78.02
* Sun Nov 28 2010 coolo@novell.com
  - remove .packlist file
* Tue Oct 19 2010 coolo@novell.com
  - add perl as explicit buildrequire
* Sun Jan 10 2010 jengelh@medozas.de
  - enable parallel build
* Fri Jan 05 2007 lmuelle@suse.de
  - Update to version 0.34.
    - Workaround various performance issues.  The real fix will be in 0.40.
* Mon Sep 18 2006 lmuelle@suse.de
  - Update to version 0.31.
    - Fix a test assuming hash key orders.
    - Big rewrite, simplifying the API and documenting everything.
    - Added to_relative (to help with SVK floating checkouts).

Files

/usr/lib/perl5/vendor_perl/5.40.0/Data
/usr/lib/perl5/vendor_perl/5.40.0/Data/Hierarchy.pm
/usr/share/doc/packages/perl-Data-Hierarchy
/usr/share/doc/packages/perl-Data-Hierarchy/CHANGES
/usr/share/doc/packages/perl-Data-Hierarchy/README
/usr/share/man/man3/Data::Hierarchy.3pm.gz


Generated by rpm2html 1.8.1

Fabrice Bellet, Fri Dec 27 23:23:59 2024