You need a newer version of perl. Let me rephrase what the manual says: "This syntax is not supported in versions of perl older than v5.20."

I recommend that you read perl documentation with the utility perldoc. This ensures that you are reading the documents that came with your installation of perl. You can get instructions by typing at your command line: