I want to parse a big cisco configuration on TXT and create arrays per
each configuration block...

The script will know when each section begins/end with the "!" character

I'm stuck.. :(

Can someone give me any pointers on the documentation?

Thanks in advance...

Here is a fragment of a configuration..

!
dial-peer voice 3500 voip
description potx
destination-pattern 35..
session target ipv4:1.79.15.74
codec g729r8 bytes 50
ip qos dscp cs3 media
ip qos dscp cs3 signaling
!
dial-peer voice 4600 voip
description poty
destination-pattern 46..
session target ipv4:3.25.114.190
codec g729r8 bytes 50
ip qos dscp cs3 media
ip qos dscp cs3 signaling
!

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to