title: Access global array from perl module file
body: <p>I have arraytest.pm with below </p>
  
  <pre><code>package arraytest;
  
  our @myarray = {"1", "2", "3", "4"};
  </code></pre>
  
  <p>and i'm trying to get the values from a different perl script</p>
  
  <pre><code>use arraytest;
  
  foreach (@arraytest::myarray) {
    print "$arraytest::myarray\n";
  }
  </code></pre>
  
  <p>I get nothing printed and no errors as well. Pleas let me know if referencing the array is correct?</p>
  
  <p>Thanks in advance</p>