in reply to Re^2: how do you check if it's compiled away?
in thread removing debugging code at compile time ?

And all for nothing, because I believe in most (I dare not say "all") systems, environment variables (and %ENV) are case insensitive.

Well, it definitely doesn't hurt.

Replies are listed 'Best First'.
Re^4: how do you check if it's compiled away?
by Anonymous Monk on Aug 17, 2007 at 07:16 UTC
    POSIX requires that environment variable names be case sensitive.
Re^4: how do you check if it's compiled away?
by FunkyMonk (Bishop) on Aug 17, 2007 at 11:13 UTC
    Environment vars are definately case sensitive on Debian, and there's no special treatment of %ENV by perl:

    print "uc => ", $ENV{EDITOR} || '', "\n"; print "lc => ", $ENV{editor} || '', "\n"; __END__ UC => emacs lc =>