[Dbix-class] Bug in resultset?

Frank Wiegand frank.wiegand at gmail.com
Wed Jul 7 09:26:53 GMT 2010


2010/7/7 Chris Cole <chris at compbio.dundee.ac.uk>:
>   {
>      'mp_start'  => {'>=', $start},
>      'mp_start'  => {'<', $end},
>      'rs_name'   => $chr,
>      'me_sample' => {'like', $dataset},
>   },
>
> I can't find anything in the documentation regarding this, so is it a bug or
> am I missing something (probably)?

It's the nature of a perl hash (has ref in your case):

% perl -MData::Dumper -wE '%h = (a => 1, a => 2, a => 3); say Dumper \%h'
$VAR1 = {
          'a' => 3
        };


Frank



More information about the DBIx-Class mailing list