There are a lot of ways to write patterns.

 /foo/;
m/foo/;
m|foo|;
m|
    foo
 |x;
m/foo\//;

qr/foo/;
qr|foo|;
qr/
    foo
 /x;

s/foo/bar/;
s/ foo /bar/x;
s| foo |bar|x;

and so on.

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

Regards,
/Lars

-- 
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