Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    CGI::Wiki::Store::Database 0.63

    Download button

    No screenshots available
    Downloads: 311  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    CGI::Wiki team | More programs
    Perl Artistic License / FREE
    October 10th, 2007, 10:05 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    CGI::Wiki::Store::Database description

    A parent class for database storage backends for CGI::Wiki

    CGI::Wiki::Store::Database is a parent class for database storage backends for CGI::Wiki.

    SYNOPSIS

    Can't see yet why you'd want to use the backends directly, but:

    # See below for parameter details.
    my $store = CGI::Wiki::Store::MySQL->new( %config );

    METHODS

    new
    my $store = CGI::Wiki::Store::MySQL->new( dbname => "wiki",
    dbuser => "wiki",
    dbpass => "wiki",
    dbhost => "db.example.com",
    charset => "iso-8859-1" );
    or


    my $store = CGI::Wiki::Store::MySQL->new( dbh => $dbh );
    charset is optional, defaults to iso-8859-1, and does nothing unless you're using perl 5.8 or newer.

    If you do not provide an active database handle in dbh, then dbname is mandatory. dbpass, dbuser and dbhost are optional, but you'll want to supply them unless your database's authentication method doesn't require it.

    If you do provide database then it must have the following parameters set; otherwise you should just provide the connection information and let us create our own handle:

    RaiseError = 1
    PrintError = 0
    AutoCommit = 1

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    parent class | storage backends | Perl module | storage | backends | CGI

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM