Re: [Dbix-class] Populate and related tables

2014-05-12 Thread Louis Erickson
I know context can matter, but I would never have expected it to in this case. I would never have thought to try capturing the return value to change the result. Does anyone know if that's a deliberate difference or is this an unexpected behavior? On May 11, 2014, at 9:35 AM, Hailin Hu

Re: [Dbix-class] Populate and related tables

2014-05-12 Thread Louis Erickson
First, thank you for saying so, Hailin, I'd never have thought to look. You don't even have to assign it to a variable you don't want; you can just call it in scalar context with 'scalar'. Second, with three minutes of brainpower I can answer my own question: Populate does something quite