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

Re^2: Class::DBI vs. DBIx::Class

by hrr (Monk)
on Jun 25, 2006 at 14:46 UTC ( #557434=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # using DBIx::Class:  
    $schema->resultset('Person')->new({FirstName=>'Joe'})->insert();   
    
    # using Class::DBI:
    DB::Person->insert({FirstName=>'Joe'});
    
  2. or download this
    package DB::Person;
    use base 'DBIx::Class';
    ...
    package DB;
    use base 'DBIx::Class::Schema';
    __PACKAGE__->load_classes(qw[Person]);
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2014-10-25 12:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (143 votes), past polls