title: Setting bareword environment variable not allowed while strict subs in use
body: <p>In order for my Perl script to run, I need to set an environment variable on the OS to point to our dev servers:</p>
  
  <p><code>export SERVER=DEV</code></p>
  
  <p>However, once the script is distributed to our users, I don't want them to need to export this environment variable each time. Therefore, I thought I would set the environment variable near the beginning of my script. So I added this:</p>
  
  <p><code>$ENV{SERVER}=DEV;</code></p>
  
  <p>However, my script won't allow this because of strict subs:</p>
  
  <p><code>Bareword "DEV" not allowed while "strict subs" in use</code></p>
  
  <p>I've been assured by my department supervisor we must use strict in our scripts, so there's no way of getting around that constraint. Is there a proper way to set bareword environment variables that I am overlooking?</p>