Thu Jul 12 02:23:28 2007manuel.mueller [...] mueller.de - Ticket created
Subject:
Bug in Resultset ?
Date:
Thu, 12 Jul 2007 08:22:26 +0200
To:
bug-DBIx-Class [...] rt.cpan.org
From:
Manuel Müller <manuel.mueller [...] mueller.de>
Hi,
i've got a stange problem with DBIx.
After calling "next" i'm always getting the warning
"Odd number of elements in anonymous hash at test.pl line 110"
if the resultset is empty
109 my $hn=$schema->resultset('Device')
->search( { 'ip' => "10.254.1.1" } );
110 if ( my $erg = $hn->next ) {
Thank you in advance.
Manuel