Scroll to navigation

App::Parcimonie(3pm) User Contributed Perl Documentation App::Parcimonie(3pm)
 

NAME

App::Parcimonie - tools for the parcimonie program

SYNOPSIS

See bin/parcimonie :)

EXPORT

SUBROUTINES

pickRandomItems(N, @list)

Returns a list of N unique items picked at random from the input list.

gpgPublicKeys()

Returns the list of key fingerprints found in the public keyring.
Args:
- $gnupg_options: reference to a hash passed to ->hash_init

gpgRecvKeys( @keyids )

Imports the keys with the given key IDs from a keyserver.
Args:
- $keyids: reference to an array of key IDs
- $gnupg_options: reference to a hash passed to ->hash_init

checkGpgHasDefinedKeyserver

Throws an exception if no keyserver is defined in GnuPG configuration.

averageLapseTime

Argument: number of public keys in the keyring. Returns the desirable average lapse time (in seconds) between two key fetches.
2014-11-07 perl v5.20.1