Port AvoidPerlisms to Parser