# Pastebin xhVsoW2A method get-height(:$species, :$form) { my $query = dbh.prepare(qq:to/STATEMENT/); SELECT height FROM pokeapi_pokedex WHERE species = ?; STATEMENT $query.execute($species); my %heights = from-json($query.row); my %height = self.values-or-defaults(%heights, $form); my $height = %height<$form>; return $height; }