Only post code that you have actually run and copy/paste the code into your node.
Copy/paste the actual error message you received when running the code into your node.
If you need data to show the issue, trim the data to the smallest amount that shows the error and copy/paste that into your node or, even better, include the data in your sample code (in a __DATA__ section perhaps).