in reply to Handling newlines in P::RD

Your question is answered in the FAQ right here

Also, the parse-recdescent mailing list recently had a post by TheDamian with an nice example.