Re: CRUDdy DBIC question

2012-01-23 Thread Zbigniew Łukasiak
On Thu, Jan 19, 2012 at 3:00 PM, Bob MacCallum uncool...@gmail.com wrote: Sorry about the Perl question. We have a database model where the master copy of the data is file based. Is there some DBIx::Class magic which does some kind of nested update_or_create_or_delete?  For example, an

Re: CRUDdy DBIC question

2012-01-23 Thread Toby Wintermute
On 20 January 2012 01:00, Bob MacCallum uncool...@gmail.com wrote: Sorry about the Perl question. We have a database model where the master copy of the data is file based. Is there some DBIx::Class magic which does some kind of nested update_or_create_or_delete?  For example, an object might

RE: CRUDdy DBIC question

2012-01-23 Thread Chris Jack
Bob MacCallum uncool...@gmail.com wrote: Sorry about the Perl question. We have a database model where the master copy of the data is file based. Is there some DBIx::Class magic which does some kind of nested update_or_create_or_delete? For example, an object might initially be written

Re: CRUDdy DBIC question

2012-01-23 Thread Bob MacCallum
Thanks everyone for the replies - for some reason I only saw them today. On Mon, Jan 23, 2012 at 5:41 PM, Chris Jack chris_j...@msn.com wrote: You could use something like DBM and there's a section in the Perl Cookbook on using tie with objects but... I really question the desirability of

CRUDdy DBIC question

2012-01-19 Thread Bob MacCallum
Sorry about the Perl question. We have a database model where the master copy of the data is file based. Is there some DBIx::Class magic which does some kind of nested update_or_create_or_delete? For example, an object might initially be written to the db along with its three children, but then