warn "Value of \$hashnew{\$com}: '$hashnew{$com}'\n"; while() { print WFILE $_ if m/$hashnew{$com}/; }