in reply to Re: Regex matching part of one hash key to another
in thread Regex matching part of one hash key to another
Sorry for the double post :s
Here is a sample of the data im trying to search on. The IPs and MACs were changed from what the actual data to be able to continue working here. I have been at perl for approximately 1 month off and on and haven't written any programs since school 18 years ago so I know my code is quite rough around the edges. I used the Learning Perl "Llama" book from O'Reilly and most of this is taken from the examples and adapted to this program. This is something I learned to help with an inventory project and I hope to get better and find more uses for perl as I am hooked on its power, I know Ineed to learn much much more than I already do and I'm hoping I didn't bite off more than I can chew with this project. Thanks for the replies :)
Internet 10.10.10.1 - 000b.462d.2846 ARPA FastEthernet0
Internet 10.10.10.2 1 0013.2004.acde ARPA FastEthernet0
Internet 10.10.10.3 7 0800.4ec8.94ac ARPA FastEthernet0
|
|---|