in reply to CPU ID

Try to use Sys::CPU, Linux::Cpuinfo, etc.
CPAN is your the best friend!!!
      
--------------------------------
SV* sv_bless(SV* sv, HV* stash);