[Catalyst] putting an object in the stash

Christopher H. Laco claco at chrislaco.com
Tue Mar 13 18:06:42 GMT 2007


Matt Lawrence wrote:
> Eden Cardim wrote:
>> On 3/13/07, Octavian Rasnita <orasnita at gmail.com> wrote:
>>> Please tell me what it means column inflation.
>>
>> Check the docs for DBIx::Class::InflateColumn
>>
> Short answer: none of the values returned by get_columns will be
> objects, even if they would have been if you had called the named accesso=
r.
> =

> Matt

return map {$_ =3D> $self->$_} $self->columns;

is your friend. :-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.scsys.co.uk/pipermail/catalyst/attachments/20070313/6eb9=
6923/signature.pgp


More information about the Catalyst mailing list