If you're packaging a perl interpreter for distribution with this script, why don't you include a cpu-z binary in the package, have your script run it with output to a file arguments set, then parse that output for the information you need? Or just email that file as an attachment on top of the other information you include?
Ref: http://www.cpuid.com/softwares/cpu-z.html
-txt=report
Launch CPU-Z in ghost mode : no interface appears, the register dump (report.txt) is automatically created.Example:
cpuz.exe -txt=c:\mydirectory\mysystem
: runs CPU-Z in ghost mode. Report file mysystem.txt is automatically generated in directoryc:\mydirectory
.