> > > IIRC the first "liberal" rx is to detect start of POD just like the Perl > (language) parser does, i.e. it pauses parsing for instructions until the > next =cut > > Oh. Can someone dig into the Perl parser and confirm this? > > > I think POD parsers should do the same. > > My suspicion is that, even if that’s true, the Parser ignores everything > in a __DATA__ or __END__ block.
Here is an example I worked up when writing test for metacpan: Everything after __DATA__ is data, but the pod parser will also find pod if it's there https://gist.github.com/rwstauner/98f97e6cd64c972d9b71