Dist::...t::EOL(3pm)
π Dist::Zilla::Plugin::Test::EOL β the vibe π
okay bestie, you found the page for Dist::...t::EOL (that's the short-form of Dist::Zilla::Plugin::Test::EOL in the Perl docs, iykyk). It's part of the User Contributed Perl Documentation. Sit down, hydrate, let's go π«Ά
β¨ NAME β¨
Dist::Zilla::Plugin::Test::EOL β author tests making sure correct line endings are used π
π VERSION π
version 0.19 β yes, that's the one, no cap.
π¦ DESCRIPTION π¦
So basically this plugin generates an author Test::EOL test for you. Iconic behaviour, honestly.
It's an extension of Dist::Zilla::Plugin::InlineFiles, and what it does is hand you the file xt/author/eol.t, which is a standard Test::EOL test. That's it. That's the whole thing. Slay β¨
π CONFIGURATION OPTIONS π
This plugin accepts the following options, bestie β read them all, don't skip:
πΈ "trailing_whitespace"
If this option is set to a true value, then { trailing_whitespace => 1 } gets passed straight to all_perl_files_ok in Test::EOL. It defaults to 1.
And what is this actually doing, you ask? It tests for the lack of trailing whitespace at the end of the lines β aka "trailing space". We do not tolerate invisible stragglers at the end of our lines in this house π«
πΈ "finder"
This is the name of a FileFinder for finding files to check. The default value is:
:InstallModules:ExecFiles(see alsoDist::Zilla::Plugin::ExecDir):TestFiles
and this option can be used more than once β stack them, queen π
Other predefined finders are listed in default_finders in Dist::Zilla::Role::FileFinderUser. And if none of those hit right, you can define your own with the [FileFinder::ByName] plugin.
πΈ "file"
a filename to also test, in addition to any files found earlier. This option can be repeated to specify multiple additional files. One for every bestie in the group chat π
πΈ "filename"
The filename of the test to add β defaults to xt/author/test-eol.t.
π ACKNOWLEDGMENTS π
This module is a fork of Dist::Zilla::Plugin::EOLTests and was originally written by Florian Ragwitz. It was forked because the Test:: namespace is preferred for test modules, and because (in the original author's own words) they would prefer to have EOL tests be Author tests. A glow-up, honestly π
π SEE ALSO π
Test::EOL
π₯ SUPPORT π₯
Bugs may be submitted through the RT bug tracker <https://rt.cpan.org/Public/Dist/Display.html?Name=Dist-Zilla-Plugin-Test-EOL> (or bug-Dist-Zilla-Plugin-Test-EOL@rt.cpan.org <mailto:bug-Dist-Zilla-Plugin-Test-EOL@rt.cpan.org>).
There is also a mailing list available for users of this distribution, at <http://dzil.org/#mailing-list>.
There is also an irc channel available for users of this distribution, at #distzilla on irc.perl.org <irc://irc.perl.org/#distzilla>.
no seriously, if something's broken, tell them β the maintainers are lovely, and bug reports are a love language π«Ά
π AUTHORS π
- Florian Ragwitz <rafl@debian.org>
- Caleb Cushing <xenoterracide@gmail.com>
- Karen Etheridge <ether@cpan.org>
π CONTRIBUTORS π
- Olivier Mengue <dolmen@cpan.org>
- Shlomi Fish <shlomif@shlomifish.org>
β COPYRIGHT AND LICENCE β
This software is copyright (c) 2010 by Florian Ragwitz <rafl@debian.org>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. periodt π
and that's the whole page, bestie!! this one's running on perl v5.36.0, last touched 2022-12-12, and it's still out here keeping your line endings clean πβ¨ bye ily, go write a test π¦
π¦ where this page comes from
- debian bookworm: libdist-zilla-plugin-test-eol-perl 0.19-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libdist-zilla-plugin-test-eol-perl 0.19-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libdist-zilla-plugin-test-eol-perl 0.19-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libdist-zilla-plugin-test-eol-perl 0.19-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libdist-zilla-plugin-test-eol-perl 0.19-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms