in reply to A line of code matches the question
Presumably you mean a "regular expression"?
The most basic thing is you probably want multiline mode with a /m
And odds are you're going to want an XML parser to make your life easier when someone changes minor details in the file. I recommend XML::Tiny which great for most use cases and has no dependencies.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: A line of code matches the question
by *2 (Novice) on Aug 10, 2017 at 15:48 UTC | |
by Anonymous Monk on Aug 10, 2017 at 16:25 UTC | |
by *2 (Novice) on Aug 10, 2017 at 16:48 UTC |
In Section
Seekers of Perl Wisdom