title: Scalars in Perl - Can they be exported throughout the script
body: <p>Not sure how clear my title is, but im new to perl and had no other way to really describe it.
  What I'm trying to do is something like this:</p>
  
  <pre><code>if(condition){
       my $VAR = " ";
  }
  </code></pre>
  
  <p>Then later use $VAR somewhere else...</p>
  
  <pre><code>if(! $USR){
       my $USR = "$VAR";
  }
  </code></pre>
  
  <p>Is there a way to call a scalar that is referenced elsewhere that has been bracketed off?
     {}</p>
  
  <p>Thanks in advance...</p>