title: How can I import constants into multiple modules in Perl?
body: <p>I'm writing an app in Perl with several modules. I want to write some global constants that will be visible from everywhere, like this:</p>
  
  <pre><code>#Constants.pm
  $h0 = 0;
  $scale = 20;
  </code></pre>
  
  <p>And then use them without qualifying with <code>main::</code> or <code>Constants::</code> in several modules. However, if I write <code>use Constants;</code> in more than one module, they only get imported into one namespace. Is there any way around this?</p>
  
  <p>I'm using the latest ActivePerl.</p>