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 - p...@pjcj.net
http://www.pjcj.net

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to