Pg::CLI::pg_config - Wrapper for the psql utility
my $pg_config = Pg::CLI::pg_config->new(); print $pg_config()->sharedir(); print $pg_config()->version();
This class provides a wrapper for the pg_config utility.
This class provides the following methods:
The constructor accepts one parameter:
The path to pg_config. By default, this will look for pg_config in your path and throw an error if it cannot be found.
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
See Pg::CLI for bug reporting details.
Dave Rolsky <firstname.lastname@example.org>
This software is Copyright (c) 2013 by Dave Rolsky.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)