DEPRECATED: write syntax extensions in perl