Dave Rolsky > Pg-CLI-0.11 > Pg::CLI::pg_config

Download:
Pg-CLI-0.11.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.11   Source  

NAME ^

Pg::CLI::pg_config - Wrapper for the psql utility

VERSION ^

version 0.11

SYNOPSIS ^

  my $pg_config = Pg::CLI::pg_config->new();

  print $pg_config()->sharedir();
  print $pg_config()->version();

DESCRIPTION ^

This class provides a wrapper for the pg_config utility.

METHODS ^

This class provides the following methods:

Pg::CLI::pg_config->new()

The constructor accepts one parameter:

Config Info Methods

This class provides the following methods, each of which returns the relevant configuration info. If there was no value for the item, the method returns undef.

BUGS ^

See Pg::CLI for bug reporting details.

AUTHOR ^

Dave Rolsky <autarch@urth.org>

COPYRIGHT AND LICENSE ^

This software is Copyright (c) 2013 by Dave Rolsky.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)
syntax highlighting: