Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Accessing DB

by Anonymous Monk
on Oct 05, 2010 at 21:08 UTC ( [id://863683]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w -T
    my $HOME_DIR;
    ...
    MyApp->new(
      ,-config_file    => '/home/somename/public_html/pc/config/pc.cfg'
    )->run;
    
  2. or download this
    user             the_username
    password         the_password
    dsn              dbi:mysql:database=somename_database:host=localhost
    cgi_session_dsn  driver:mysql;serializer:Storable
    cookie_path      /
    
  3. or download this
    package MyApp;
    use strict;
    use base 'CGI::Application';
    ...
       $self->session->param(stuff=>$session_data);
       return $result;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://863683]
Approved by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-03-29 04:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found