in reply to Re^4: Cisco to Juniper - parser help
in thread Cisco to Juniper - parser help
Your code is also very hard to read for me.
A general solution is to parse your tree data into a nested array of hashes and to traverse that to output your new format.
But I don't know if that's really necessary because I don't understand the data.
I hope someone with deeper knowledge of your domain will pass by and can help you. :)
see also
Re: Cisco to Juniper - parser help
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
|
|---|