1Dist::Zilla::Util(3)  User Contributed Perl Documentation Dist::Zilla::Util(3)
2
3
4

NAME

6       Dist::Zilla::Util - random snippets of code that Dist::Zilla wants
7

VERSION

9       version 6.012
10

METHODS

12   abstract_from_file
13       This method, which is likely to change or go away, tries to guess the
14       abstract of a given file, assuming that it's Perl code.  It looks for a
15       POD "=head1" section called "NAME" or a comment beginning with
16       "ABSTRACT:".
17
18   expand_config_package_name
19         my $pkg_name = Dist::Zilla::Util->expand_config_package_name($string);
20
21       This method, which is likely to change or go away, rewrites the given
22       string into a package name.
23
24       Prefixes are rewritten as follows:
25
26       ·   "=" becomes nothing
27
28       ·   "@" becomes "Dist::Zilla::PluginBundle::"
29
30       ·   "%" becomes "Dist::Zilla::Stash::"
31
32       ·   otherwise, "Dist::Zilla::Plugin::" is prepended
33

AUTHOR

35       Ricardo SIGNES 😏 <rjbs@cpan.org>
36
38       This software is copyright (c) 2018 by Ricardo SIGNES.
39
40       This is free software; you can redistribute it and/or modify it under
41       the same terms as the Perl 5 programming language system itself.
42
43
44
45perl v5.30.0                      2019-07-26              Dist::Zilla::Util(3)
Impressum