in reply to Simple Problem getting me Stumped
if ( $variable =~ /^read_community/ ) { ... [download]
Note that there's one other problem in your code.
chomp; [download]
chomp($variable); [download]