title: How to share/export a global variable between two different perl scripts?
body: <p>How do we share or export a global variable between two different perl scripts. </p>
  
  <p>Here is the situation:</p>
  
  <p><strong>first.pl</strong></p>
  
  <pre><code>#!/usr/bin/perl
  use strict;
  our (@a, @b);
  .........
  </code></pre>
  
  <p><strong>second.pl</strong></p>
  
  <pre><code>#!/usr/bin/perl
  use strict;
  require first.pl;
  </code></pre>
  
  <p>I want to use global variable (<code>@a</code>, <code>@b</code>) declared in <strong>first.pl</strong></p>
  
  <p>Also,suppose there's a variable in second perl file same as first perl file. But I want to use first file's variable. How to achieve this?</p>