in reply to export environment variable from a perl program
Other posters are correct, it can't be done the way you're trying. However you could make your perl program print out what you want in VAR1 and in your shell script do:
export VAR1 = `/your/perl/script.pl`;
Hope that helps
|
---|