Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I wish to search /proc/pci for some info. Copy the data and write it to a new location. Specifically it involves searching /proc/pci for a particular device ID and assigning the devices IO addresses to a set of variables and then writing these variables out to another file (or calling a program and passing the values as arguments. Do you have some skeleton code which would do something similar that I can tinker with... Cheers