Skip to content

Commit

Permalink
dzil
Browse files Browse the repository at this point in the history
  • Loading branch information
rjbs committed Oct 16, 2013
1 parent 84d892a commit 33dced5
Show file tree
Hide file tree
Showing 12 changed files with 20 additions and 486 deletions.
2 changes: 2 additions & 0 deletions .gitignore
@@ -0,0 +1,2 @@
.build
Sub-Install-*
3 changes: 3 additions & 0 deletions Changes
@@ -1,5 +1,8 @@
Revision history for Sub-Install

{{$NEXT}}
rebuild using Dist::Zilla, update links to repo, metadata, etc.

0.926 2012-02-26
cope with terminal dots from new Carp

Expand Down
377 changes: 0 additions & 377 deletions LICENSE

This file was deleted.

9 changes: 0 additions & 9 deletions MANIFEST.SKIP

This file was deleted.

26 changes: 0 additions & 26 deletions Makefile.PL

This file was deleted.

6 changes: 0 additions & 6 deletions README

This file was deleted.

7 changes: 7 additions & 0 deletions dist.ini
@@ -0,0 +1,7 @@
name = Sub-Install
author = Ricardo SIGNES <rjbs@cpan.org>
license = Perl_5
copyright_holder = Ricardo SIGNES
copyright_year = 2005

[@RJBS]
45 changes: 8 additions & 37 deletions lib/Sub/Install.pm
@@ -1,23 +1,11 @@
package Sub::Install;

use warnings;
use strict;
use warnings;
package Sub::Install;
# ABSTRACT: install subroutines into packages easily

use Carp;
use Scalar::Util ();

=head1 NAME
Sub::Install - install subroutines into packages easily
=head1 VERSION
version 0.926
=cut

our $VERSION = '0.926';

=head1 SYNOPSIS
use Sub::Install;
Expand All @@ -34,9 +22,7 @@ This module makes it easy to install subroutines into packages without the
unslightly mess of C<no strict> or typeglobs lying about where just anyone can
see them.
=head1 FUNCTIONS
=head2 install_sub
=func install_sub
Sub::Install::install_sub({
code => \&subroutine,
Expand Down Expand Up @@ -78,7 +64,7 @@ is the same as:
as => 'dance',
});
=head2 reinstall_sub
=func reinstall_sub
This routine behaves exactly like C<L</install_sub>>, but does not emit a
warning if warnings are on and the destination is already defined.
Expand Down Expand Up @@ -207,7 +193,7 @@ BEGIN {
});
}

=head2 install_installers
=func install_installers
This routine is provided to allow Sub::Install compatibility with
Sub::Installer. It installs C<install_sub> and C<reinstall_sub> methods into
Expand Down Expand Up @@ -271,7 +257,7 @@ L<Sub::Exporter>.

sub exporter {
my ($arg) = @_;

my %is_exported = map { $_ => undef } @{ $arg->{exports} };

sub {
Expand Down Expand Up @@ -304,26 +290,11 @@ This is a complete Exporter.pm replacement, built atop Sub::Install.
=back
=head1 AUTHOR
Ricardo Signes, C<< <rjbs@cpan.org> >>
=head1 EXTRA CREDITS
Several of the tests are adapted from tests that shipped with Damian Conway's
Sub-Installer distribution.
=head1 BUGS
Please report any bugs or feature requests through the web interface at
L<http://rt.cpan.org>. I will be notified, and then you'll automatically be
notified of progress on your bug as I make changes.
=head1 COPYRIGHT
Copyright 2005-2006 Ricardo Signes, All Rights Reserved.
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
=cut

1;
7 changes: 0 additions & 7 deletions t/00-load.t

This file was deleted.

14 changes: 0 additions & 14 deletions t/perl-critic.t

This file was deleted.

5 changes: 0 additions & 5 deletions t/pod-coverage.t

This file was deleted.

5 changes: 0 additions & 5 deletions t/pod.t

This file was deleted.

0 comments on commit 33dced5

Please sign in to comment.