[Dbix-class] Creating a new related object on another new object (with a belongs_to relationship)

Zbigniew Lukasiak zzbbyy at gmail.com
Sat Aug 30 10:12:48 BST 2008


Hi,

It looks that now it is not possible to create a new object from
another new one.  I don't know if that is big deal - and I can adapt
my code to that - but just FYI:

$undef_artist_cd->related_resultset('artist')->new({name => 'foo'});

(added in t/66relationship line 216)

this now fails with "Can't abstract implicit construct, condition not a hash".

-- 
Zbigniew Lukasiak
http://brudnopis.blogspot.com/
http://perlalchemy.blogspot.com/



More information about the DBIx-Class mailing list