correcting the syntax examples to be plain ole perl