$REPO_HASH {$gqueried_repo} {REPO_BRANCHES} = @branch_list ; # Does not do what you apparently think it does # The result of the assignment above is the number of elements in @branch_list