in reply to Re: Regex matching part of one hash key to another
in thread Regex matching part of one hash key to another

OUI.txt isn't the problem; it's available here. It's his other data, the log file (?) that he's parsing.

-- 
Education is not the filling of a pail, but the lighting of a fire.
 -- W. B. Yeats
  • Comment on Re^2: Regex matching part of one hash key to another

Replies are listed 'Best First'.
Re^3: Regex matching part of one hash key to another
by KevinNC (Initiate) on Jan 07, 2011 at 15:30 UTC

    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