in reply to using in DBIx::Class

do you get an error message? this code works for me...