in reply to Re^2: Handling newlines in P::RD
in thread Handling newlines in P::RD

Thanks, this is the approach I've eventually taken. Still, looking at my grammar and at the attemps I did trying stuff, it's clear that P::RD has an issue with line-oriented input. It's possible, but adds difficulties, mainly because its default "skippable" chars include a newline.

This can be trivially solved with a tiny bit of preprocessing, but I tried a pure P::RD approach.

To conclude - it works, it even looks clean enough and not *too* complicated.

Thanks for the feedback !