Skip Menu |
 

This queue is for tickets about the DBIx-Class CPAN distribution.

Report information
The Basics
Id: 28124
Status: rejected
Priority: 0/
Queue: DBIx-Class

People
Owner: Nobody in particular
Requestors: manuel.mueller [...] mueller.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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>
Download (untitled) / with headers
text/plain 329b
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
this is almost certainly a bug in your code; you'd be better off asking the mailing list.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.