Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^5: Cisco to Juniper - parser help

by LanX (Saint)
on May 24, 2021 at 14:54 UTC ( [id://11132970]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Cisco to Juniper - parser help
in thread Cisco to Juniper - parser help

I don't think I know enough about those tools to help you, and you don't understand my questions.

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. :)

update

see also

Re: Cisco to Juniper - parser help

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11132970]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2024-04-24 06:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found