Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Class::DBI Intro

by trs80 (Priest)
on Jul 30, 2003 at 04:30 UTC ( #279077=perlmeditation: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package My::ClassDBI;
    
    ...
    
    1;
    
  2. or download this
    Table::Tablename->columns( Primary => 'primary_key_column_name' );
    
  3. or download this
    Table::User->has_many( 'pages' , 'Table::Page' => 'user_id' );
    
  4. or download this
    # sql for testing
    
    ...
      PRIMARY KEY  (page_id)
    ) TYPE=MyISAM;
    
  5. or download this
    use My::ClassDBI;
    use DBI;
    ...
    print "\nFinished\n";
    
    1;
    
  6. or download this
    =pod
    
    ...
    !;
    
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://279077]
Approved by hardburn
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2015-07-29 23:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (269 votes), past polls