I have a perl script that requires LANG=C. This is a snippet of the code that checks for that. How can I set the environment within the script?
if ( $ENV{LANG} and $ENV{LANG} =~ /UTF.*8/i ){ my $args = join " ", map { /\s/ ? "\"$_\"" : $_ } @ARGV; $args ||= ""; print <<ERR; Thanks! Ralph