Skip to content

Commit

Permalink
add MANIFEST.SKIP, some POD
Browse files Browse the repository at this point in the history
  • Loading branch information
shelling committed Apr 2, 2009
1 parent 18c9ab1 commit b782850
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 4 deletions.
8 changes: 5 additions & 3 deletions Changes
@@ -1,6 +1,8 @@
Revision history for Perl extension Class::Implant.

0.01 Thu Apr 2 18:34:43 2009
- original version; created by h2xs 1.23 with options
-X -n Class::Implant
0.01 2009/4/2
- original version;
+ created by h2xs 1.23 partially with options
-X -n Class::Implant
+ created by dzil 1.004 partially

17 changes: 17 additions & 0 deletions MANIFEST.SKIP
@@ -0,0 +1,17 @@
^dist.ini$
^\.gitignore$
\.cvsignore
\.svn/
\.git/
\bRCS\b
\bCVS\b
%MANIFEST\.
^Makefile$
~$
^#
\.old$
^blib/
^pm_to_blib
^MakeMaker-\d
\.gz$
^tools/
49 changes: 49 additions & 0 deletions lib/Class/Implant.pm
@@ -1,10 +1,13 @@
package Class::Implant;

use 5.008008;
use strict;
no strict "refs";
use warnings;
use Class::Inspector;

our $VERSION = '0.01_01';

sub import {
*{(caller)[0] . "::implant"} = \&implant;
}
Expand All @@ -28,3 +31,49 @@ sub implant (@) {
}

1;
__END__
=head1 NAME
Class::Implant - Manipulating Mix-In and Inheritance of Packages from outside
=head1 SYNOPSIS
package Cat;
use Class::Implant;
implant qw(Foo::Bar), { inherit => 1 }; # import all methods from Foo::Bar and inherit it
# just like inheritance of ruby
implant qw(Less::More); # mixing all methods from Less::More,
# like ruby 'include'
=head1 DESCRIPTION
=head2 EXPORT
=head1 SEE ALSO
Mention other useful documentation such as the documentation of
related modules or operating system documentation (such as man pages
in UNIX), or any relevant external documentation such as RFCs or
standards.
If you have a mailing list set up for your module, mention it here.
If you have a web site set up for your module, mention it here.
=head1 AUTHOR
shelling, E<lt>shelling@apple.comE<gt>
=head1 COPYRIGHT AND LICENSE
Copyright (C) 2009 by shelling
MIT(X11) Licence
=cut
2 changes: 1 addition & 1 deletion t/simple.t
@@ -1,4 +1,4 @@
use strict;
use Test::More tests => 1;

BEGIN { use_ok "Class::Implant" }
BEGIN { use_ok("Class::Implant") };

0 comments on commit b782850

Please sign in to comment.