On Tue, Feb 07, 2012 at 2:03pm 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? 

Put in:

$ENV{'LANG'} = 'C';

Or run the script like so:

LANG=C scriptname
--
Robert Woodcock - r...@blarg.net
"Duct tape: The last refuge of the incompetent... because the competent
don't leave it for last."
        -- seen on slashdot

Reply via email to