in reply to Re^2: libiconv wont work :(
in thread libiconv wont work :(
Most likely, changing %ENV is only respected when launching new processes by your OS, and does not affect a currently running process. Either launch your process through a shell script wrapper that sets up the environment, or restart your Perl program by using (something like) exec $0 => @ARGV. The second approach might fail when $0 does not resolve to a valid filename.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: libiconv wont work :(
by kosta (Sexton) on Dec 06, 2010 at 17:23 UTC |