[Dbix-class] search() returning REFs

Robert Sedlacek rs at 474.at
Mon Feb 18 15:40:16 GMT 2008


On Monday 18 February 2008 16:12:24 Paul Makepeace wrote:
> It seems that a search() is returning an array of \bless'ed instead of
> bless'ed objects.
>
> I'm putting in a die to dump out am example:
>
> Caught exception in IDL::Web::Controller::SP::Companies->edit "SPC:
> REF(0xa9328f4) = REF at
> /home/paulm/idl/trunk/IDL-Web/script/../lib/IDL/Web/Controller/SP/Compani
>es.pm line 86."
>
>    82:  my @service_profile_companies :Stashed = \
                                                  ^^^
>    83:
>          $ds_ro->resultset('ServiceProfileCompany')->search({service_prof
>ile_uid

Why is there a \ at the end of line 82? Bash habits? :)

hth, rs



More information about the DBIx-Class mailing list