Postgres::Handler::HTML

HTML Component for PostgreSQL data
Download

Postgres::Handler::HTML Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Cyber Sprocket Labs
  • Publisher web site:
  • http://search.cpan.org/~csa/

Postgres::Handler::HTML Tags


Postgres::Handler::HTML Description

HTML Component for PostgreSQL data Postgres::Handler::HTML is a Perl module with accessors for PostgreSQL data. Simplifies data access through a series of standard class methods.SYNOPSIS # Instantiate Object # use Postgres::Handler; my $DB = Postgres::Handler->new(dbname=>'products',dbuser=>'postgres',dbpass=>'pgpassword'); # Retrieve Data & List Records # $DB->PrepLEX('SELECT * FROM products'); while ($item=$DB->GetRecord()) { print "$item->{PROD_ID} $item->{PROD_TITLE} $item->{PROD_QTY} "; } # Add / Update Record based on CGI Form # assuming objCGI is an instatiated CGI object # if the CGI param 'prod_id' is set we update # if it is not set we add # my %cgimap; foreach ('prod_id','prod_title','prod_qty') { $cgimap{$_} = $_; } $DB->AddUpdate( CGI=>$objCGI , CGIKEY=>'prod_id', TABLE=>'products', DBKEY=>'prod_id', hrCGIMAP=>\%cgimap ); Requirements: · Perl


Postgres::Handler::HTML Related Software