Think about Loose Coupling | |
PerlMonks |
Re: How to handle metacharacters in input file for Perl one-liner codeby QM (Parson) |
on Jul 16, 2015 at 15:29 UTC ( [id://1135033]=note: print w/replies, xml ) | Need Help?? |
Besides the good advice you've received above, you should also investigate regex anchors ^ and $, for example:
Search for "anchor" in perlretut#Simple word matching. -QM
In Section
Seekers of Perl Wisdom
|
|