Actually the DATA section there is not part of the template so I believe it
could be removed.

-Dan

On Sat, Feb 22, 2020 at 12:05 PM Dan Book <gri...@gmail.com> wrote:

> 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 <s1037...@gmail.com> wrote:
>
>>
>>
>> On Sat, Feb 22, 2020 at 10:56 AM Dan Book <gri...@gmail.com> 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 mojolicious+unsubscr...@googlegroups.com.
>> 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 mojolicious+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mojolicious/CABMkAVU%3DDV%3D7rzeaQWMbQhfGNODjCx7iYnXsm0aqcjkx%2BxUUSA%40mail.gmail.com.

Reply via email to