ACME-Base64-Hexagram
view release on metacpan or search on metacpan
},
"name" : "ACME-Base64-Hexagram",
"no_index" : {
"directory" : [
"t",
"inc"
]
},
"prereqs" : {
"build" : {
"requires" : {
"ExtUtils::MakeMaker" : "0"
}
},
"configure" : {
"requires" : {
"ExtUtils::MakeMaker" : "0"
}
},
"runtime" : {
"requires" : {
"perl" : "5.008003"
}
},
"test" : {
"requires" : {
"Test::More" : "0"
}
}
},
"release_status" : "stable",
"resources" : {
"bugtracker" : {
"web" : "https://github.com/choroba/ACME-Base64-Hexagram/issues"
},
"repository" : {
"type" : "git",
"url" : "https://github.com/choroba/ACME-Base64-Hexagram.git",
"web" : "https://github.com/choroba/ACME-Base64-Hexagram"
}
},
"version" : "0.002",
---
abstract: unknown
author:
- 'E. Choroba <choroba@matfyz.cz>'
build_requires:
ExtUtils::MakeMaker: '0'
Test::More: '0'
configure_requires:
ExtUtils::MakeMaker: '0'
dynamic_config: 1
generated_by: 'ExtUtils::MakeMaker version 7.76, CPAN::Meta::Converter version 2.150010'
license: artistic_2
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: '1.4'
name: ACME-Base64-Hexagram
no_index:
directory:
- t
- inc
requires:
perl: '5.008003'
resources:
bugtracker: https://github.com/choroba/ACME-Base64-Hexagram/issues
repository: https://github.com/choroba/ACME-Base64-Hexagram.git
version: '0.002'
x_serialization_backend: 'CPAN::Meta::YAML version 0.020'
Makefile.PL view on Meta::CPAN
'Test::More' => '0',
},
PREREQ_PM => {
#'ABC' => '1.6',
#'Foo::Bar::Module' => '5.0401',
},
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'ACME-Base64-Hexagram-*' },
META_MERGE => {
'meta-spec' => { version => 2 },
resources => {
repository => {
type => 'git',
url => 'https://github.com/choroba/ACME-Base64-Hexagram.git',
web => 'https://github.com/choroba/ACME-Base64-Hexagram',
},
bugtracker => {
web => 'https://github.com/choroba/ACME-Base64-Hexagram/issues',
},
},
},
);
# Compatibility with old versions of ExtUtils::MakeMaker
unless (eval { ExtUtils::MakeMaker->VERSION('6.64'); 1 }) {
my $test_requires = delete $WriteMakefileArgs{TEST_REQUIRES} || {};
@{$WriteMakefileArgs{PREREQ_PM}}{keys %$test_requires} = values %$test_requires;
}
unless (eval { ExtUtils::MakeMaker->VERSION('6.55_03'); 1 }) {
my $build_requires = delete $WriteMakefileArgs{BUILD_REQUIRES} || {};
@{$WriteMakefileArgs{PREREQ_PM}}{keys %$build_requires} = values %$build_requires;
}
delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
unless eval { ExtUtils::MakeMaker->VERSION('6.52'); 1 };
delete $WriteMakefileArgs{MIN_PERL_VERSION}
unless eval { ExtUtils::MakeMaker->VERSION('6.48'); 1 };
delete $WriteMakefileArgs{LICENSE}
unless eval { ExtUtils::MakeMaker->VERSION('6.31'); 1 };
WriteMakefile(%WriteMakefileArgs);
t/01-basic.t view on Meta::CPAN
use strict;
use utf8;
use ACME::Base64::Hexagram qw{ encode_base64h decode_base64h };
use Test::More tests => 2;
my $string = "Just Another Perl Hacker,\n";
my $result = "ä·ä·§ä·ä·³ä·ä·ä·ä·ä·ä·¦ä·½ä·´ä·ä·ä·ä·²ä·ä·
ä·ä·¥ä·ä·¦ä·°ä· ä·ä·ä·
ä·£ä·ä·¶ä·ä·²ä·ä·ä·¨Â·";
is encode_base64h($string), $result . "\n", 'encoding';
is decode_base64h($result), $string, 'decoding';
( run in 0.900 second using v1.01-cache-2.11-cpan-7da0f45c409 )