in reply to Re: YES you can! Re: setenv in perl
in thread setenv in perl

try installing Inline::C