in reply to scalar grep not binding hash slots
my %has = ( # japhy was right, use [ ] to return reference to array driver => [grep { $p{rdbms} eq $_ } Alzabo::Driver->available], rules => (scalar grep { $p{rdbms} eq $_ } Alzabo::RDBMSRules->av +ailable) ? 'yes' : 'no', rules2 => (scalar grep { $p{rdbms} eq $_ } Alzabo::RDBMSRules->av +ailable) );
|
|---|