Jump to content

PERL version of get_env( )


benjam

Recommended Posts

I have a line in my httpd.conf file like the following:

[code]

Setenv CONFIG_STAGE DEVL

[/code]


and in my config.php file I have a line like the following:

[code]

$CONFIG_STAGE = get_env('CONFIG_STAGE');

[/code]


How might I do the same thing in PERL?

And I know this is a PHP forum, but I figured there has to be a few people in here who know both.
Link to comment
https://forums.phpfreaks.com/topic/19822-perl-version-of-get_env/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.