Keep It Simple, Stupid | |
PerlMonks |
Re: pattern match operatorby halfcountplus (Hermit) |
on Apr 16, 2012 at 17:21 UTC ( [id://965365]=note: print w/replies, xml ) | Need Help?? |
There's a typo in:
if($_ =- m/$pat/g)
The =- should be =~. Ps: From now on, wrap your code in <code> tags. See Writeup Formatting Tips,
In Section
Seekers of Perl Wisdom
|
|