Hi folks!

Could someone point me in the right direction on this one.

I'm trying to input /proc/cpuinfo on a Linux box into a hash. This file
contains information of the processors on the running machine, what type
they are, number of cpu's etc. and I want to use this info later.

Now the problem I have is that I'd like to get it into a hash, and I just
can't figure out how to do this. I can split it up at the : delimiter, but
I'm not sure how then to get in the data in a hash properly.

More than likely I'm describing this completely wrong, but hey, I'm a
newbie.. ;)

Best Regards
Anders Holm


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to