title: Error: must use subscript when assigning associative array
body: <p>I wanted a hashmap equivalent in bash (keys as <code>string</code> and values as a <code>list</code> of integers). So, I wrote the following code-</p>
  
  <pre><code>declare -A PUBS
  
  PUBS=( "FEE":"[345, 342]" "FOO":"[1, 2, 44]" "BAR":"[23, 67]" )
  </code></pre>
  
  <p>However, I get an error saying <code>must use subscript when assigning associative array</code>.</p>
  
  <p>What's wrong here?</p>