Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- my $artist = Artist->new_result({
- name => "John",
- artist_cd_rs => [
- {cd => {title=>"one"}},
- {cd => {title=>"two"}},
- ],
- });
- ok $artist->custom_method_on_resultsourc;
- $artist->artist_cd_rs->first->cd->title; # !!! This explodes
- ok $artist->insert_or_update;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement