Skip to content

Commit

Permalink
Initial import - Add the guts later
Browse files Browse the repository at this point in the history
git-svn-id: file:///Volumes/EnMasse/svnroot/Text-Format-Lisp/trunk@6 a6b267a2-8f62-4c46-b07c-677a4f9229da
  • Loading branch information
jgoff committed Sep 23, 2008
0 parents commit 7989a1c
Show file tree
Hide file tree
Showing 10 changed files with 285 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Build.PL
@@ -0,0 +1,17 @@
use strict;
use warnings;
use Module::Build;

my $builder = Module::Build->new(
module_name => 'Text::Format::Lisp',
license => 'perl',
dist_author => 'Jeffrey Goff <jgoff@cpan.org>',
dist_version_from => 'lib/Text/Format/Lisp.pm',
requires => {
'Test::More' => 0,
'version' => 0,
},
add_to_cleanup => [ 'Text-Format-Lisp-*' ],
);

$builder->create_build_script();
5 changes: 5 additions & 0 deletions Changes
@@ -0,0 +1,5 @@
Revision history for Text-Format-Lisp

0.0.1 Tue Sep 23 00:06:27 2008
Initial release.

10 changes: 10 additions & 0 deletions MANIFEST
@@ -0,0 +1,10 @@
Build.PL
Changes
MANIFEST
Makefile.PL
README
lib/Text/Format/Lisp.pm
t/00.load.t
t/perlcritic.t
t/pod-coverage.t
t/pod.t
17 changes: 17 additions & 0 deletions Makefile.PL
@@ -0,0 +1,17 @@
use strict;
use warnings;
use ExtUtils::MakeMaker;

WriteMakefile(
NAME => 'Text::Format::Lisp',
AUTHOR => 'Jeffrey Goff <jgoff@cpan.org>',
VERSION_FROM => 'lib/Text/Format/Lisp.pm',
ABSTRACT_FROM => 'lib/Text/Format/Lisp.pm',
PL_FILES => {},
PREREQ_PM => {
'Test::More' => 0,
'version' => 0,
},
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'Text-Format-Lisp-*' },
);
45 changes: 45 additions & 0 deletions README
@@ -0,0 +1,45 @@
Text-Format-Lisp version 0.0.1

[ REPLACE THIS...

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 understood 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, run the following commands:

perl Makefile.PL
make
make test
make install

Alternatively, to install with Module::Build, you can use the following commands:

perl Build.PL
./Build
./Build test
./Build install


DEPENDENCIES

None.


COPYRIGHT AND LICENCE

Copyright (C) 2008, Jeffrey Goff

This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.
163 changes: 163 additions & 0 deletions lib/Text/Format/Lisp.pm
@@ -0,0 +1,163 @@
package Text::Format::Lisp;

use warnings;
use strict;
use Carp;

use version;
$VERSION = qv('0.0.3');


# Module implementation here


1; # Magic true value required at end of module
__END__
=head1 NAME
Text::Format::Lisp - [One line description of module's purpose here]
=head1 VERSION
This document describes Text::Format::Lisp version 0.0.1
=head1 SYNOPSIS
use Text::Format::Lisp;
=for author to fill in:
Brief code example(s) here showing commonest usage(s).
This section will be as far as many users bother reading
so make it as educational and exeplary as possible.
=head1 DESCRIPTION
=for author to fill in:
Write a full description of the module and its features here.
Use subsections (=head2, =head3) as appropriate.
=head1 INTERFACE
=for author to fill in:
Write a separate section listing the public components of the modules
interface. These normally consist of either subroutines that may be
exported, or methods that may be called on objects belonging to the
classes provided by the module.
=head1 DIAGNOSTICS
=for author to fill in:
List every single error and warning message that the module can
generate (even the ones that will "never happen"), with a full
explanation of each problem, one or more likely causes, and any
suggested remedies.
=over
=item C<< Error message here, perhaps with %s placeholders >>
[Description of error here]
=item C<< Another error message here >>
[Description of error here]
[Et cetera, et cetera]
=back
=head1 CONFIGURATION AND ENVIRONMENT
=for author to fill in:
A full explanation of any configuration system(s) used by the
module, including the names and locations of any configuration
files, and the meaning of any environment variables or properties
that can be set. These descriptions must also include details of any
configuration language used.
Text::Format::Lisp requires no configuration files or environment variables.
=head1 DEPENDENCIES
=for author to fill in:
A list of all the other modules that this module relies upon,
including any restrictions on versions, and an indication whether
the module is part of the standard Perl distribution, part of the
module's distribution, or must be installed separately. ]
None.
=head1 INCOMPATIBILITIES
=for author to fill in:
A list of any modules that this module cannot be used in conjunction
with. This may be due to name conflicts in the interface, or
competition for system or program resources, or due to internal
limitations of Perl (for example, many modules that use source code
filters are mutually incompatible).
None reported.
=head1 BUGS AND LIMITATIONS
=for author to fill in:
A list of known problems with the module, together with some
indication Whether they are likely to be fixed in an upcoming
release. Also a list of restrictions on the features the module
does provide: data types that cannot be handled, performance issues
and the circumstances in which they may arise, practical
limitations on the size of data sets, special cases that are not
(yet) handled, etc.
No bugs have been reported.
Please report any bugs or feature requests to
C<bug-text-format-lisp@rt.cpan.org>, or through the web interface at
L<http://rt.cpan.org>.
=head1 AUTHOR
Jeffrey Goff C<< <jgoff@cpan.org> >>
=head1 LICENCE AND COPYRIGHT
Copyright (c) 2008, Jeffrey Goff C<< <jgoff@cpan.org> >>. All rights reserved.
This module is free software; you can redistribute it and/or
modify it under the same terms as Perl itself. See L<perlartistic>.
=head1 DISCLAIMER OF WARRANTY
BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH
YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
NECESSARY SERVICING, REPAIR, OR CORRECTION.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE
LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL,
OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE
THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
7 changes: 7 additions & 0 deletions t/00.load.t
@@ -0,0 +1,7 @@
use Test::More tests => 1;

BEGIN {
use_ok( 'Text::Format::Lisp' );
}

diag( "Testing Text::Format::Lisp $Text::Format::Lisp::VERSION" );
9 changes: 9 additions & 0 deletions t/perlcritic.t
@@ -0,0 +1,9 @@
#!perl

if (!require Test::Perl::Critic) {
Test::More::plan(
skip_all => "Test::Perl::Critic required for testing PBP compliance"
);
}

Test::Perl::Critic::all_critic_ok();
6 changes: 6 additions & 0 deletions t/pod-coverage.t
@@ -0,0 +1,6 @@
#!perl -T

use Test::More;
eval "use Test::Pod::Coverage 1.04";
plan skip_all => "Test::Pod::Coverage 1.04 required for testing POD coverage" if $@;
all_pod_coverage_ok();
6 changes: 6 additions & 0 deletions t/pod.t
@@ -0,0 +1,6 @@
#!perl -T

use Test::More;
eval "use Test::Pod 1.14";
plan skip_all => "Test::Pod 1.14 required for testing POD" if $@;
all_pod_files_ok();

0 comments on commit 7989a1c

Please sign in to comment.