should do it.if ( $variable =~ /^read_community/ ) { ...
Note that there's one other problem in your code.
should bechomp;
chomp($variable);
In reply to Re: Simple Problem getting me Stumped
by dws
in thread Simple Problem getting me Stumped
by CongoGrey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |