perl-HTML-Persistent-0.04-alt1.noarch.rpm


Advertisement

Description

perl-HTML-Persistent - Perl database aimed at storing HTML tree structures

Distribution: ALT Linux Sisyphus
Repository: Autoimports noarch
Package name: perl-HTML-Persistent
Package version: 0.04
Package release: alt1
Package architecture: noarch
Package type: rpm
Installed size: 52.67 KB
Download size: 52.67 KB
Official Mirror: ftp.altlinux.org
This provides an interface that provides convenient access to data with a syntax that is mostly comfortable for perl users. It uses the overload and tie trick to allow both array and hash references to be acceptable in arbitrary mix, and allows a mild language ambiguity to assign values to nodes as well as visiting new nodes. For example, assigning a sub-node to a variable creates the necessary sub-node (if it does not already exist), but evaluating the same in a string context will reveal the data value contained in the sub-node (or undef if it does not exist). Evaluating in a numeric context also returns undef if the node does not exist, but forces the string into a number if a data-value can be found (following normal perl rules). The database should be concurrent (i.e. multiple processes can safely open the same database) but regular calls to sync() are required since locking is only released on a sync() call, judging how often to run the sync() is a matter for the application but it will usually be a somewhat expensive call (in the background using perl Storable which decomposes the objects into bytecodes and writes at least one entire file). Some granularity factors are tunable (e.g. largest whole file before splitting it down into directories and smaller files) and these may effect the optimal sync() placement. In addition, the sync() may be seen as a transaction boundary, but the only rollback feature is just throwing away the $db object and starting a new object (which is reasonably cheap to do). The general intention is for medium to long lived server processes to call sync() when they are waiting for more work (e.g. waiting for a web request) and to try to atomically complete whole requests. Also, it is generally intended to be faster in a read-only situation (shared locks) than a read/write situation (exclusive locks).

Alternatives

Provides

  • perl(HTML/Persistent.pm) = 0.040
  • perl(HTML/Persistent/HTML.pm)
  • perl(HTML/Persistent/array.pm) = 0.020
  • perl(HTML/Persistent/base.pm)
  • perl(HTML/Persistent/hash.pm) = 0.020
  • perl(HTML/Persistent/sl_array.pm) = 0.020
  • perl(HTML/Persistent/sl_base.pm) = 0.020
  • perl(HTML/Persistent/sl_hash.pm) = 0.020
  • perl-HTML-Persistent = 0.04-alt1

    Install Howto

    1. Add the following line to /etc/apt/sources.list:
      rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
      rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
      
    2. Update the package index:
      # sudo apt-get update
    3. Install perl-HTML-Persistent rpm package:
      # sudo apt-get install perl-HTML-Persistent

    Files

    • /usr/share/doc/perl-HTML-Persistent-0.04/Changes
    • /usr/share/doc/perl-HTML-Persistent-0.04/README
    • /usr/share/perl5/HTML/Persistent.pm
    • /usr/share/perl5/HTML/Persistent/HTML.pm
    • /usr/share/perl5/HTML/Persistent/array.pm
    • /usr/share/perl5/HTML/Persistent/base.pm
    • /usr/share/perl5/HTML/Persistent/hash.pm
    • /usr/share/perl5/HTML/Persistent/sl_array.pm
    • /usr/share/perl5/HTML/Persistent/sl_base.pm
    • /usr/share/perl5/HTML/Persistent/sl_hash.pm
    Advertisement
    Advertisement