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.
In reply to Re: Simple prog isnt cooperating
by stevieb
in thread Simple prog isnt cooperating
by catfish1116
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |