http://qs1969.pair.com?node_id=128723


in reply to Re: (jeffa) Re: need understanding
in thread need understanding

You could login to the account with that initialization file then start your perl script and get with %ENV as shown above. I don't know if there's a generic shell-initialization-file parsing CPAN module. Or if it's like .bashrc, maybe look on equals signs like /PATH=['"]?(\w+)/, though that's not a good solution in my opinion.