Environment variables on WinNT and 2000 are available through the %ENV hash. You can see them from a command prompt if you type 'set'.
If you need to change environment variables permanently you can do so through the registry using Win32::TieRegistry. The keys are located at "HKML\SYSTEM\CurrentControlSet\Control\Session Manager\Environment".