stag-connect-parameters.pl
alias db='stag-connect-parameters.pl -d' psql `db mydb`
Looks up the connection parameters for a logical dbname in the metadata file pointed at by DBSTAG_DBIMAP_FILE
See selectall_xml.pl for more on this mapping
This is either a DBI locator or the logical name of a database in the DBSTAG_DBIMAP_FILE config file
To install DBIx::DBStag, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBIx::DBStag
CPAN shell
perl -MCPAN -e shell install DBIx::DBStag
For more information on module installation, please visit the detailed CPAN module installation guide.