more useful options | |
PerlMonks |
Re: A line of code matches the questionby SuicideJunkie (Vicar) |
on Aug 10, 2017 at 15:07 UTC ( [id://1197178]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|