The Win32::SystemInfo Perl module allows you to get total/free memory on Win32 systems, including installed RAM (physical memory) and page file. This module will also let you access processor information, including processor family (386,486,etc), speed, name, vendor, and revision information.
The latest version is 0.12, released February 16, 2013.
Win32::SystemInfo is hosted on Github. View the project.
View Win32::SystemInfo on CPAN.