| 1 | package Dist::Zilla::Role::EncodingProvider 6.040; | ||
| 2 | # ABSTRACT: something that sets a files' encoding | ||
| 3 | |||
| 4 | 5 | ▶ | use Moose::Role; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 5 | with 'Dist::Zilla::Role::Plugin'; | |
| 6 | |||
| 7 | 5 | ▶ | use Dist::Zilla::Pragmas; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 5 | ▶ | use namespace::autoclean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | |||
| 11 | #pod =head1 DESCRIPTION | ||
| 12 | #pod | ||
| 13 | #pod EncodingProvider plugins do their work after files are gathered, but before | ||
| 14 | #pod they're munged. They're meant to set the C<encoding> on files. | ||
| 15 | #pod | ||
| 16 | #pod The method C<set_file_encodings> is called with no arguments. | ||
| 17 | #pod | ||
| 18 | #pod =cut | ||
| 19 | |||
| 20 | 5 | requires 'set_file_encodings'; | |
| 21 | |||
| 22 | 5 | 1; | |
| 23 | |||
| 24 | __END__ | ||