in reply to Env Variable value not persistent
Short answer: it can't be done. This question is answered in perlfaq8.