Scroll to navigation

Lintian::Storage::PerMember(3) Debian Package Checker Lintian::Storage::PerMember(3)

NAME

Lintian::Storage::PerMember - store multi-level hashes on disk

SYNOPSIS

    use Lintian::Storage::PerMember;
    my $storage = Lintian::Storage::PerMember->create('elf');
    my $name = 'usr/bin/true';
    $storage->{$name} = { NEEDED => ['libc.so.6'] };
    my $info = $storage->{$name};

DESCRIPTION

Lintian::Storage::PerMember provides an interface to store data on disk to preserve memory. Each hash key corresponds to a separate Storable file in a temporary directory, so values are only in memory while they are being read or written.

CLASS METHODS

Creates a temporary directory and returns a hash tied to it. Each assigned key is stored in its own file there.

INSTANCE METHODS

Removes the temporary directory when the tied hash goes out of scope.
_file
Returns the file associated with the given key.

SEE ALSO

lintian(1)

2026-09-04 Lintian v2.140.0