On Feb 18, 2008 4:12 PM, Paul Makepeace <[EMAIL PROTECTED]> 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/Companies.pm
> line 86."
>
> 82: my @service_profile_companies :Stashed = \
> 83:
> $ds_ro->resultset('ServiceProfileCompany')->search({service_profile_uid
> 84: => $service_profile_uid});
> 85: foreach my $spc (@service_profile_companies) {
> 86: die "SPC: $spc = ", ref($spc);
> 87: }
get rid of the backslash in line 82; this is not bash :P
--
siggen.pl: Segmentation Fault
_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[EMAIL PROTECTED]