fix $# and %# highlighting in perl mode