Re: DBIx::Class add rows to table, confusion in perldoc example....

2012-02-05 Thread Dermot
On 5 February 2012 03:29, Rajeev Prasad wrote: > > > Author says: > > Adding and removing rows > To create a new record in the database, you can use the create method. It > returns an instance of My::Schema::Result::Album that can be used to access > the data in the new record: > > my $new_album

DBIx::Class add rows to table, confusion in perldoc example....

2012-02-04 Thread Rajeev Prasad
Author says: Adding and removing rows To create a new record in the database, you can use the create method. It returns an instance of My::Schema::Result::Album that can be used to access the data in the new record: my $new_album = $schema->resultset('Album')->create({ title => 'Wish You Were