[Dbix-class] select as, count

Brandon Black blblack at gmail.com
Mon Jun 26 21:28:49 CEST 2006


On 6/26/06, Sarah Berry <berry.sarah at gmail.com> wrote:
> So instead, I would want to do something like this?
>   my %conds = {
>   my %cnt = {
>

The { ... } construct creates a hash reference, which should be stored
in a scalar.  So if you want things to be simple and readable, it
should say:

my $conds = { ... }



More information about the Dbix-class mailing list