diff --git a/Changes b/Changes new file mode 100644 index 0000000000000000000000000000000000000000..bed22634dc4b06fad41e52b019aee56e848d252e --- /dev/null +++ b/Changes @@ -0,0 +1,6 @@ +Revision history for Perl extension RedMiner::API. + +0.01 Wed Apr 9 07:44:27 2014 + - original version; created by h2xs 1.23 with options + -X RedMiner::API + diff --git a/MANIFEST b/MANIFEST new file mode 100644 index 0000000000000000000000000000000000000000..9dc8f86b910f69f3bea87cb8495eadfd56e6b836 --- /dev/null +++ b/MANIFEST @@ -0,0 +1,6 @@ +Changes +Makefile.PL +MANIFEST +README +t/RedMiner-API.t +lib/RedMiner/API.pm diff --git a/Makefile.PL b/Makefile.PL new file mode 100644 index 0000000000000000000000000000000000000000..5517d9e1fec999e2716d06cd5620728e37fb64ab --- /dev/null +++ b/Makefile.PL @@ -0,0 +1,12 @@ +use 5.014004; +use ExtUtils::MakeMaker; +# See lib/ExtUtils/MakeMaker.pm for details of how to influence +# the contents of the Makefile that is written. +WriteMakefile( + NAME => 'RedMiner::API', + VERSION_FROM => 'lib/RedMiner/API.pm', # finds $VERSION + PREREQ_PM => {}, # e.g., Module::Name => 1.1 + ($] >= 5.005 ? ## Add these new keywords supported since 5.005 + (ABSTRACT_FROM => 'lib/RedMiner/API.pm', # retrieve abstract from module + AUTHOR => 'Anton Soldatov <anton@local>') : ()), +); diff --git a/lib/RedMiner/API.pm b/lib/RedMiner/API.pm new file mode 100644 index 0000000000000000000000000000000000000000..006716f9007e68eaef3dfb65f9cb245230829781 --- /dev/null +++ b/lib/RedMiner/API.pm @@ -0,0 +1,87 @@ +package RedMiner::API; + +use 5.014004; +use strict; +use warnings; + +require Exporter; +use AutoLoader qw(AUTOLOAD); + +our @ISA = qw(Exporter); + +# Items to export into callers namespace by default. Note: do not export +# names by default without a very good reason. Use EXPORT_OK instead. +# Do not simply export all your public functions/methods/constants. + +# This allows declaration use RedMiner::API ':all'; +# If you do not need this, moving things directly into @EXPORT or @EXPORT_OK +# will save memory. +our %EXPORT_TAGS = ( 'all' => [ qw( + +) ] ); + +our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } ); + +our @EXPORT = qw( + +); + +our $VERSION = '0.01'; + + +# Preloaded methods go here. + +# Autoload methods go after =cut, and are processed by the autosplit program. + +1; +__END__ +# Below is stub documentation for your module. You'd better edit it! + +=head1 NAME + +RedMiner::API - Perl extension for blah blah blah + +=head1 SYNOPSIS + + use RedMiner::API; + blah blah blah + +=head1 DESCRIPTION + +Stub documentation for RedMiner::API, created by h2xs. It looks like the +author of the extension was negligent enough to leave the stub +unedited. + +Blah blah blah. + +=head2 EXPORT + +None by default. + + + +=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 + +Anton Soldatov, E<lt>anton@localE<gt> + +=head1 COPYRIGHT AND LICENSE + +Copyright (C) 2014 by Anton Soldatov + +This library is free software; you can redistribute it and/or modify +it under the same terms as Perl itself, either Perl version 5.14.4 or, +at your option, any later version of Perl 5 you may have available. + + +=cut diff --git a/t/RedMiner-API.t b/t/RedMiner-API.t new file mode 100644 index 0000000000000000000000000000000000000000..2b6e353da3bf14889b0a8de5eb963547fbc2c3b4 --- /dev/null +++ b/t/RedMiner-API.t @@ -0,0 +1,18 @@ +# Before `make install' is performed this script should be runnable with +# `make test'. After `make install' it should work as `perl RedMiner-API.t' + +######################### + +# change 'tests => 1' to 'tests => last_test_to_print'; + +use strict; +use warnings; + +use Test::More tests => 1; +BEGIN { use_ok('RedMiner::API') }; + +######################### + +# Insert your test code below, the Test::More module is use()ed here so read +# its man page ( perldoc Test::More ) for help writing this test script. +