I am trying to set up a data structure to hold the information in /usr/share/misc/pci.ids.
I gather this is a linux-on-intel kind of thing (on a laptop with pci slots?) -- alas, those of us who don't have this sort of setup are clueless about what the "pci.ids" file contains or how it's organized. (My macosx has a /usr/share/misc directory, but no pci.ids file.) Could you post a sample of the data, and/or some reference info about the file format?
And can you show us your code that attempted to read the file into a hash structure? I'm sure you would rather read from the file, instead of having to hard-code the file contents into a perl script...
In reply to Re: pci.ids to a complex data structure
by graff
in thread pci.ids to a complex data structure
by wynnmc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |