OK let me be more descriptive and make more sense.
This is not for a networking application and is for an automation process for checking the connection between memories and the control registers associated with that particular memory. As there are thousands of memories in a design checking each of one these connections is a tedious process.
so to automate this process of checking a perl script needs to written which should read the register information contained in file ".regs" dedicated only for control register information and check the connection with the particular memory associated with it.for doing this i need to know if there is any system task in perl which will give me the "hierarchy of the wire" *connecting* the register and memory.
thank you