Chapter 21. The Perl client module

Table of Contents
Installation
Classes and their functions

While the C clients shipped with refdb are quite versatile and scriptable, you may have a desire to bypass these clients and write scripts that directly talk to the refdb server. The separately available RefDBClient::Client Perl module implements the client/server communication necessary to run all commands offered by the C clients from a Perl script.

Installation

Like with most Perl modules, the following command sequence will install the Perl module on your system

~$ perl Makefile.PL
~$ make
~$ make install

Note: You need root permissions to run the last command on most systems.

The current version of the client module cannot handle password encryption on its own. Instead it relies on the external C program eenc which is part of the refdb distribution.