Breaking PPR (Lightning talk)

As per Damian's suggestion: just keep adding levels of indirection.

All scripts return:

1    2    3    Hello
  1. test00 - Simple heredoc
  2. test01 - Heredoc with interpolated string
  3. test02 - Simple format
  4. test03 - Heredoc with multiline arguments
  5. test04 - Combining format and heredoc
  6. test05 - Multiple heredocs inside format
  7. test06 - Heredocs with interpolation inside format
  8. test07 - Nesting heredocs inside format
  9. test08 - Function calls from inside a heredoc inside a format
  10. test09 - Nesting formats inside nested heredocs
$ perl -MPPR -MTest::More -wE'ok(do{local$/;<>} =~ m{\A(?&PerlDocument)\Z $PPR::GRAMMAR}x);done_testing' test09
#   Failed test at -e line 1.
1..1
# Looks like you failed 1 test of 1.

Note that these tests did not include any of the n 5.26 deprecated format issues.

Note that these tests did not yet use the indented heredocs from 5.26

last update: 12-08-2017