From 4d0a1f46292ef64aa85b44819f10f1fe1805d1ad Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Mon, 31 Mar 2014 22:38:22 +0300 Subject: [PATCH 1/1] Initial commit --- Changes | 6 +++ MANIFEST | 6 +++ Makefile.PL | 12 ++++++ README | 40 ++++++++++++++++++++ lib/Text/Homestuck.pm | 85 +++++++++++++++++++++++++++++++++++++++++++ t/Text-Homestuck.t | 18 +++++++++ 6 files changed, 167 insertions(+) create mode 100644 Changes create mode 100644 MANIFEST create mode 100644 Makefile.PL create mode 100644 README create mode 100644 lib/Text/Homestuck.pm create mode 100644 t/Text-Homestuck.t diff --git a/Changes b/Changes new file mode 100644 index 0000000..eea2a9f --- /dev/null +++ b/Changes @@ -0,0 +1,6 @@ +Revision history for Perl extension Text::Homestuck. + +0.000_001 Mon Mar 31 22:38:05 2014 + - original version; created by h2xs 1.23 with options + -AX -v 0.000_001 -b 5.14.0 Text::Homestuck + diff --git a/MANIFEST b/MANIFEST new file mode 100644 index 0000000..483b626 --- /dev/null +++ b/MANIFEST @@ -0,0 +1,6 @@ +Changes +Makefile.PL +MANIFEST +README +t/Text-Homestuck.t +lib/Text/Homestuck.pm diff --git a/Makefile.PL b/Makefile.PL new file mode 100644 index 0000000..5294ea6 --- /dev/null +++ b/Makefile.PL @@ -0,0 +1,12 @@ +use 5.014000; +use ExtUtils::MakeMaker; +# See lib/ExtUtils/MakeMaker.pm for details of how to influence +# the contents of the Makefile that is written. +WriteMakefile( + NAME => 'Text::Homestuck', + VERSION_FROM => 'lib/Text/Homestuck.pm', # finds $VERSION + PREREQ_PM => {}, # e.g., Module::Name => 1.1 + ($] >= 5.005 ? ## Add these new keywords supported since 5.005 + (ABSTRACT_FROM => 'lib/Text/Homestuck.pm', # retrieve abstract from module + AUTHOR => 'Marius Gavrilescu ') : ()), +); diff --git a/README b/README new file mode 100644 index 0000000..ad6f4ca --- /dev/null +++ b/README @@ -0,0 +1,40 @@ +Text-Homestuck version 0.000_001 +================================ + +The README is used to introduce the module and provide instructions on +how to install the module, any machine dependencies it may have (for +example C compilers and installed libraries) and any other information +that should be provided before the module is installed. + +A README file is required for CPAN modules since CPAN extracts the +README file from a module distribution so that people browsing the +archive can use it get an idea of the modules uses. It is usually a +good idea to provide version information here so that people can +decide whether fixes for the module are worth downloading. + +INSTALLATION + +To install this module type the following: + + perl Makefile.PL + make + make test + make install + +DEPENDENCIES + +This module requires these other modules and libraries: + + blah blah blah + +COPYRIGHT AND LICENCE + +Put the correct copyright and licence information here. + +Copyright (C) 2014 by Marius Gavrilescu + +This library is free software; you can redistribute it and/or modify +it under the same terms as Perl itself, either Perl version 5.18.2 or, +at your option, any later version of Perl 5 you may have available. + + diff --git a/lib/Text/Homestuck.pm b/lib/Text/Homestuck.pm new file mode 100644 index 0000000..6d9b4fd --- /dev/null +++ b/lib/Text/Homestuck.pm @@ -0,0 +1,85 @@ +package Text::Homestuck; + +use 5.014000; +use strict; +use warnings; + +require Exporter; + +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 Text::Homestuck ':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.000_001'; +$VERSION = eval $VERSION; # see L + + +# Preloaded methods go here. + +1; +__END__ +# Below is stub documentation for your module. You'd better edit it! + +=head1 NAME + +Text::Homestuck - Perl extension for blah blah blah + +=head1 SYNOPSIS + + use Text::Homestuck; + blah blah blah + +=head1 DESCRIPTION + +Stub documentation for Text::Homestuck, 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 + +Marius Gavrilescu, Emarius@E + +=head1 COPYRIGHT AND LICENSE + +Copyright (C) 2014 by Marius Gavrilescu + +This library is free software; you can redistribute it and/or modify +it under the same terms as Perl itself, either Perl version 5.18.2 or, +at your option, any later version of Perl 5 you may have available. + + +=cut diff --git a/t/Text-Homestuck.t b/t/Text-Homestuck.t new file mode 100644 index 0000000..f5a220a --- /dev/null +++ b/t/Text-Homestuck.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 Text-Homestuck.t' + +######################### + +# change 'tests => 1' to 'tests => last_test_to_print'; + +use strict; +use warnings; + +use Test::More tests => 1; +BEGIN { use_ok('Text::Homestuck') }; + +######################### + +# 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. + -- 2.39.2