in reply to Simple prog isnt cooperating
In if($Namelist ~= ...), I think you meant:
=~. That's the "equals or contains" regex check. ~= doesn't mean much to perl.Also, $1 is a special variable based on a regex capture. You're not capturing anything here. A capture in a regex is specified by parens. I've got a meeting to bounce to, so someone else will have to explain that issue.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Simple prog isnt cooperating
by stevieb (Canon) on Oct 15, 2018 at 21:51 UTC |