Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Data::Hive::Store::Hash 1.008

    Download button

    No screenshots available
    Downloads: 408  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Very Good (4.0/5)
    1 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Hans Dieter Pearcey | More programs
    Perl Artistic License / FREE
    November 22nd, 2007, 08:14 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Data::Hive::Store::Hash description

    A simple hash store for Data::Hive.

    Data::Hive::Store::Hash is a simple hash store for Data::Hive.

    METHODS

    new
    my $store = Data::Hive::Store::Hash->new(%hash);

    Takes a hashref to use as the store.

    get

    Use given @path as nesting keys in the hashref store.

    set

    See "get". Dies if you try to set a key underneath an existing non-hashref key, e.g.:

    $hash = { foo => 1 };
    $store->set([ 'foo', 'bar' ], 2); # dies

    name

    Returns a string, potentially suitable for eval-ing, describing a hash dereference of a variable called $STORE.

    "$STORE->{foo}->{bar}"

    This is probably not very useful.

    exists

    Descend the hash and return false if any of the path's parts do not exist, or true if they all do.

    delete

    Descend the hash and delete the given path. Only deletes the leaf.


    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    hash store | Data::Hive store | Perl module | Data | hash | store

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM