On Tue, Jun 13, 2017 at 02:03:10PM +0300, Lars Noodén wrote:
> There are a lot of ways to write patterns.

> Is there a module or method that can identify and extract them from a
> larger bit of code regardless of style?

That's not an easy problem.  Fortunately, there is a module which will
probably do what you want: PPI.  See https://metacpan.org/pod/PPI

-- 
Paul Johnson - [email protected]
http://www.pjcj.net

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/


Reply via email to