in reply to Re^3: How do I set env. Variables from Perl with shell scriptin thread How do I set env. Variables from Perl with shell script
About what part of Noame's code are you confused? Perlmonks is not a code writing service.