Acme-LookOfDisapproval
view release on metacpan or search on metacpan
"class" : "Dist::Zilla::Plugin::License",
"name" : "@Author::ETHER/License",
"version" : "6.032"
},
{
"class" : "Dist::Zilla::Plugin::GenerateFile::FromShareDir",
"config" : {
"Dist::Zilla::Plugin::GenerateFile::FromShareDir" : {
"destination_filename" : "CONTRIBUTING",
"dist" : "Dist-Zilla-PluginBundle-Author-ETHER",
"encoding" : "UTF-8",
"has_xs" : 0,
"location" : "build",
"source_filename" : "CONTRIBUTING"
},
"Dist::Zilla::Role::RepoFileInjector" : {
"allow_overwrite" : 1,
"repo_root" : ".",
"version" : "0.009"
}
},
-
class: Dist::Zilla::Plugin::License
name: '@Author::ETHER/License'
version: '6.032'
-
class: Dist::Zilla::Plugin::GenerateFile::FromShareDir
config:
Dist::Zilla::Plugin::GenerateFile::FromShareDir:
destination_filename: CONTRIBUTING
dist: Dist-Zilla-PluginBundle-Author-ETHER
encoding: UTF-8
has_xs: 0
location: build
source_filename: CONTRIBUTING
Dist::Zilla::Role::RepoFileInjector:
allow_overwrite: 1
repo_root: .
version: '0.009'
name: '@Author::ETHER/generate CONTRIBUTING'
version: '0.015'
-
anotherlib/Acme/o_o.pm view on Meta::CPAN
sub import {
goto &Acme::LookOfDisapproval::import;
}
1;
__END__
=pod
=encoding UTF-8
=head1 NAME
Acme::ಠ_ಠ- Send warnings with ಠ_à²
=head1 VERSION
version 0.008
=head1 SYNOPSIS
lib/Acme/LookOfDisapproval.pm view on Meta::CPAN
}
sub ಠ_ಠ{ goto &CORE::warn }
1;
__END__
=pod
=encoding UTF-8
=head1 NAME
Acme::LookOfDisapproval - Send warnings with ಠ_à²
=head1 VERSION
version 0.008
=head1 SYNOPSIS
lib/Acme/LookOfDisapproval.pm view on Meta::CPAN
matter -- only when it is called: during the caller's compilation cycle),
and then we can export our symbol by using L<goto> to jump to L<Exporter>.
=for stopwords dzil utf8
I also discovered while writing this distribution that L<Dist::Zilla> is not
able to munge files with utf8 characters, therefore I had to switch to packaging
this distribution with vanilla L<ExtUtils::MakeMaker>; also, a number of the
author and release tests that would have been added by dzil automatically
didn't work either (for example, see C<t/00-compile.t> -- C<< qx(^$X "require $_") >>
both needs the C<:binmode> or C<:encoding(UTF-8)> layer applied to C<STDOUT>, and
requires the L<utf8> pragma applied in the sub-perl (leading to more patches).
After pushing several patches to core L<Dist::Zilla> and some independently-distributed plugins,
I have been able to switch back to packaging with L<Dist::Zilla>.
Everything is now much more unicode-clean! ð
=head1 SEE ALSO
=over 4
t/02-Acme-o_o.t view on Meta::CPAN
use strict;
use warnings;
# vim: set ts=8 sts=2 sw=2 tw=100 et :
use open ':std', ':encoding(UTF-8)'; # force stdin, stdout, stderr into utf8
use Test::More 0.88;
use Test::Warnings 0.009 ':no_end_test', ':all';
use utf8;
use Acme::ಠ_ಠ;
use JSON::PP;
my $line; my $file = __FILE__;
is(
warning { ಠ_ಠ('oh noes'); $line = __LINE__ },
"oh noes at $file line $line.\n",
xt/release/changes_has_content.t view on Meta::CPAN
use Test::More tests => 2;
note 'Checking Changes';
my $changes_file = 'Changes';
my $newver = '0.008';
my $trial_token = '-TRIAL';
my $encoding = 'UTF-8';
SKIP: {
ok(-e $changes_file, "$changes_file file exists")
or skip 'Changes is missing', 1;
ok(_get_changes($newver), "$changes_file has content for $newver");
}
done_testing;
( run in 0.576 second using v1.01-cache-2.11-cpan-49f99fa48dc )