in reply to PERL5LIB resets in a new terminal window
I don't have a Mac, but googling 'mac environment' yeilds http://mactip.blogspot.com/2004/04/setting-environment-variables.html which mentions a .MacOSX/environment.plist file.