-.*
-!.gitignore
-Name.*
-!Name.xs
-Makefile*
-!Makefile.PL
-META.yml
-MYMETA.yml
-MYMETA.json
-blib
-build
-inc
-pm_to_blib
-MANIFEST*
-!MANIFEST.SKIP
-Debian*
-Sub-Name-*
-*.bs
+/.ackrc
+/.build/
+!/.gitignore
+/.latest
+/Name.*
+!/Name.xs
+/MYMETA.*
+/Makefile
+/Makefile.old
+/blib/
+/pm_to_blib
+/Sub-Name-*/
+/Sub-Name-*.tar.gz
-Revision history for Sub-Name
+Revision history for {{$dist->name}}
+
+{{$NEXT}}
+ - converted distribution packaging to Dist::Zilla
0.09 -- 2014-08-09
- Copy the contents of the %DB::sub entry if it exists; fixes
+++ /dev/null
-#!include_default
-^\.
-build\b
-blib\b
-\.(?:bak|o|c|bs)$
-^Makefile$
-^Makefile.old$
-^Debian
-^Sub-Name-
-use 5.006;
-use ExtUtils::MakeMaker;
-
-WriteMakefile(
- NAME => 'Sub::Name',
- VERSION_FROM => 'lib/Sub/Name.pm',
- ABSTRACT_FROM => 'lib/Sub/Name.pm',
- AUTHOR => 'Matthijs van Duin <xmath@cpan.org>',
-
- PREREQ_PM => {
- 'Exporter' => '0',
- 'DynaLoader' => '0',
- },
- BUILD_REQUIRES => {
- 'Devel::CheckBin' => '0',
- 'Test::More' => '0',
- },
-
- MIN_PERL_VERSION => '5.006',
- META_MERGE => {
- 'meta-spec' => { version => 2 },
- dynamic_config => 0,
- resources => {
- repository => {
- url => 'https://github.com/karenetheridge/Sub-Name.git',
- web => 'https://github.com/karenetheridge/Sub-Name',
- type => 'git',
- },
- bugtracker => {
- mailto => 'bug-Sub-Name@rt.cpan.org',
- web => 'https://rt.cpan.org/Public/Dist/Display.html?Name=Sub-Name',
- },
- },
- },
-);
-
-package MY;
-sub depend { "
-README : \$(VERSION_FROM)
- pod2text \$(VERSION_FROM) > README"
-}
+use strict;
+use warnings;
+use ExtUtils::MakeMaker::Dist::Zilla::Develop;
+WriteMakefile(NAME => 'Sub::Name');
+++ /dev/null
-NAME
- Sub::Name - (re)name a sub
-
-SYNOPSIS
- use Sub::Name;
-
- subname $name, $subref;
-
- $subref = subname foo => sub { ... };
-
-DESCRIPTION
- This module has only one function, which is also exported by default:
-
- subname NAME, CODEREF
- Assigns a new name to referenced sub. If package specification is
- omitted in the name, then the current package is used. The return value
- is the sub.
-
- The name is only used for informative routines (caller, Carp, etc). You
- won't be able to actually invoke the sub by the given name. To allow
- that, you need to do glob-assignment yourself.
-
- Note that for anonymous closures (subs that reference lexicals declared
- outside the sub itself) you can name each instance of the closure
- differently, which can be very useful for debugging.
-
-AUTHOR
- Matthijs van Duin <xmath@cpan.org>
-
- Copyright (C) 2004, 2008 Matthijs van Duin. All rights reserved.
- Copyright (C) 2014 cPanel Inc. All rights reserved. This program is free
- software; you can redistribute it and/or modify it under the same terms
- as Perl itself.
-
--- /dev/null
+name = Sub-Name
+author = Matthijs van Duin <xmath@cpan.org>
+license = Perl_5
+copyright_holder = Matthijs van Duin
+copyright_year = 2004
+
+[@Author::ETHER]
+:version = 0.065
+installer = MakeMaker
+Authority.authority = cpan:FLORA
+Test::MinimumVersion.max_target_perl = 5.006
+Git::GatherDir.exclude_filename = Makefile.PL
+-remove = Test::PodSpelling ; TODO
package Sub::Name;
+# ABSTRACT: (re)name a sub
-=head1 NAME
-
-Sub::Name - (re)name a sub
+=pod
=head1 SYNOPSIS
=back
-=head1 AUTHOR
+=head1 COPYRIGHT AND LICENSE
-Matthijs van Duin <xmath@cpan.org>
+This software is copyright (c) 2004, 2008 by Matthijs van Duin, all rights reserved;
+copyright (c) 2014 cPanel Inc., all rights reserved.
-Copyright (C) 2004, 2008 Matthijs van Duin. All rights reserved.
-Copyright (C) 2014 cPanel Inc. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.
use strict;
use warnings;
-our $VERSION = '0.09';
-
use base 'Exporter';
-use base 'DynaLoader';
our @EXPORT = qw(subname);
our @EXPORT_OK = @EXPORT;
-bootstrap Sub::Name $VERSION;
+use XSLoader;
+XSLoader::load(
+ __PACKAGE__,
+ exists $Sub::Name::{VERSION}
+ ? ${ $Sub::Name::{VERSION} }
+ : (),
+);
1;
--- /dev/null
+; this is [@Default] without [Legal]...
+
+[@CorePrep]
+
+[-SingleEncoding]
+
+[Name]
+[Version]
+
+[Region / prelude]
+
+[Generic / SYNOPSIS]
+[Generic / DESCRIPTION]
+[Generic / OVERVIEW]
+
+[Collect / ATTRIBUTES]
+command = attr
+
+[Collect / METHODS]
+command = method
+
+[Collect / FUNCTIONS]
+command = func
+
+[Leftovers]
+
+[Region / postlude]
+
+[Authors]
+; [Legal] ; snip!
+
+[Generic / legal]
+header = COPYRIGHT AND LICENSE