Determining environment
[email protected] ("R. Hicks") Thu, 11 Sep 2008 21:50:01 -0400
| Newsgroups | perl.beginners.cgi |
|---|---|
| Message-ID | <[email protected]> |
I want a simple way to determine if I am in dev or prod. I currently
look at the $ENV{'SERVER_NAME'} and that seems to work fine for me but
my curiosity was up on how others do the same thing.
Robert