http://www.perlmonks.org?node_id=939122


in reply to Re: Problem with PPI HereDoc's
in thread Problem with PPI HereDoc's

Right you are!

It seemed to me that without that terminator the document being passed to the PPI::Document->new() would fail to parse. But having tried your recommendation --- I got what was expected! So with your change the script can be used to Find-And-Replace-HereDocs. Modify to suit yourself and enjoy!

Thanks again!

Clueless