Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 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 1.008

    Download button

    No screenshots available
    Downloads: 341  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Fair (2.6/5)
    3 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Hans Dieter Pearcey | More programs
    GPL / FREE
    November 22nd, 2007, 07:42 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Data::Hive::Store description

    A generic interface to a backend store for Data::Hive.

    Data::Hive::Store is a generic interface to a backend store for Data::Hive.

    METHODS

    All methods are passed at least a 'path' (arrayref of namespace pieces). Joining the path in a way that is meaningful is most of the point of the Store modules.

    get
    print $store->get(@path, %opt);

    Return the resource represented by the given path, however $store is structured. This could map to e.g.

    $hash->{foo}->{bar}

    $obj->get('foo.bar')

    io('/foo/bar')->all

    depending on the Store module involved.

    set
    $store->set(@path, $value, %opt);

    Analogous to get.

    name
    print $store->name(@path, %opt);


    Return a store-specific name for the given path. This is primarily useful for stores that may be accessed independently of the hive; in the io example above, some external process/function may want to write to /foo/bar directly.

    exists
    if ($store->exists(@path, %opt)) { ... }

    Returns true if the given path exists in the store.

    delete
    $store->delete(@path, %opt);

    Delete the given path from the store. Return the previous value, if any.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    backend store | Data::Hive store | Perl module | Data | backend | store

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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