http://www.perlmonks.org?node_id=126577


in reply to programatically setting the LD_LIBRARY_PATH

Well, Env ties scalars, not arrays. Your code should look like:

use Env qw(LD_LIBRARY_PATH); # no sigil here BEGIN { $LD_LIBRARY_PATH .= ":/usr/local/sybase/lib"; }
I'm not sure a BEGIN block is necessary here, but if it works for you....

HTH