The stupid question is the question not asked | |
PerlMonks |
Re: regex for identifying encrypted textby skendric (Novice) |
on Jun 29, 2018 at 22:57 UTC ( [id://1217634]=note: print w/replies, xml ) | Need Help?? |
I ended up:
(a) Pre-parsing both files into arrays (b) Using a crude state machine to skip the BEGIN ... END sections (c) Then handing the shrunken arrays to Text::Diff Thank you all for helping me to think through this. P.S. This script now allows me to checkpoint my firewall config files into a config database, so that I can do things like report on how frequently we change firewall configuration.
In Section
Seekers of Perl Wisdom
|
|