http://qs1969.pair.com?node_id=1048805


in reply to Re^2: programatically setting the LD_LIBRARY_PATH
in thread programatically setting the LD_LIBRARY_PATH

Did you try it? Anyway, the answer should be yes. I have a few functions that go something like:
sub exec_something { local $ENV{LD_LIBARY_PATH} = "...."; system some_command => @args; }