title: Is there a way to do associative arrays in REXX?
body: <p>I have some Perl code (for performance analysis) first developed under Linux which now needs to be ported to the mainframe. Apparently REXX is the scripting language of choice on that platform but this Perl script relies heavily on associative arrays (basically arrays where the index is a string).</p>
  
  <p>Is there a way that in REXX? How would I code up something like:</p>
  
  <pre><code>$arr{"Pax"} = "Diablo";
  $arr{"Bob"} = "Dylan";
  print $arr{"Pax"} . "\n";
  if (defined $arr{"no"}) {
          print "Yes\n";
  } else {
          print "No\n";
  }
  </code></pre>