> /I have a perl script that requires LANG=C./Just out of curiosity... what is it about your script that requires LANG=C?
On 02/07/2012 02:03 PM, Ralph Sims wrote:
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