I believe it is required in that configuration to allow POD after the DATA section. If you moved the POD before DATA (what I usually do) it wouldn't be needed.
-Dan On Sat, Feb 22, 2020 at 12:03 PM Stefan Adams <[email protected]> wrote: > > > On Sat, Feb 22, 2020 at 10:56 AM Dan Book <[email protected]> wrote: > >> It is not well defined. __END__ and __DATA__ even serve the same purpose >> within the main script file (but not in module files). I recommend not >> combining them. >> > > Interesting! I did `mojo generate plugin` and it added perldoc after > __END__ so I didn't think to remove it, but I wanted to add __DATA__. What > do you think about removing __END__ from the generator > <https://github.com/mojolicious/mojo/blob/master/lib/Mojolicious/Command/Author/generate/plugin.pm#L110> > ? > > -- > You received this message because you are subscribed to the Google Groups > "Mojolicious" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/mojolicious/CACyQ%2BFRivNu1RtmhDG2kM_HtiTqUHN%3DhjSJrwHdQgB5DLYoSpQ%40mail.gmail.com > <https://groups.google.com/d/msgid/mojolicious/CACyQ%2BFRivNu1RtmhDG2kM_HtiTqUHN%3DhjSJrwHdQgB5DLYoSpQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mojolicious/CABMkAVXYnxdj%2B6QHGUkBk850tRKDG0YV-25t8WyEzxpOo8LO1A%40mail.gmail.com.
