my $Accomps = $dbh->selectall_hashref( $q, 'ID' );
# Then:
my $input_hash = {
Tech => param('tech'),
Type => param('type'),
};
foreach my $key ( keys %$Accomps ) {
if ( param( $key ) ) {
$input_hash->{ $key } = $Accomps->{ $key };
}
}
Wbr,
--
Kõike hääd,
Gunnar
_______________________________________________
dancer-users mailing list
dancer-users@dancer.pm
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users