hello I'm passing little bunches of Class::DBI objects through to a template. It's working very well, but some of their more rarely-used methods involve quite laborious database work, and i'd like to avoid invoking those methods unless the template requests them.
i was hoping that using [% foreach person.something_really_complicated %] in the template would trigger that method, but it doesn't seem to be so. have i done something wrong, or is the object being flattened back into a hashref at some point? thanks will
