From 1d7c11e727d64fb3473f2d3f8013f71f3c5892a9 Mon Sep 17 00:00:00 2001 From: "Andreas J. Koenig" Date: Sun, 19 Oct 2008 14:19:08 +0200 Subject: [PATCH] remove the tilde files --- .gitignore~ | 10 ----- MANIFEST~ | 8 ---- Makefile.PL~ | 16 -------- README~ | 52 ----------------------- lib/Acme/Study/Perl.pm~ | 107 ------------------------------------------------ t/studyperl.t~ | 55 ------------------------- 6 files changed, 248 deletions(-) delete mode 100644 .gitignore~ delete mode 100644 MANIFEST~ delete mode 100644 Makefile.PL~ delete mode 100644 README~ delete mode 100644 lib/Acme/Study/Perl.pm~ delete mode 100644 t/studyperl.t~ diff --git a/.gitignore~ b/.gitignore~ deleted file mode 100644 index 6848deb..0000000 --- a/.gitignore~ +++ /dev/null @@ -1,10 +0,0 @@ -blib* -Makefile -Makefile.old -Build -_build* -pm_to_blib* -*.tar.gz -.lwpcookies -Acme-Study-Perl-* -cover_db diff --git a/MANIFEST~ b/MANIFEST~ deleted file mode 100644 index 66918a0..0000000 --- a/MANIFEST~ +++ /dev/null @@ -1,8 +0,0 @@ -Changes -MANIFEST -Makefile.PL -README -lib/Acme/Study/Perl.pm -t/00-load.t -t/pod-coverage.t -t/pod.t diff --git a/Makefile.PL~ b/Makefile.PL~ deleted file mode 100644 index 4e540f7..0000000 --- a/Makefile.PL~ +++ /dev/null @@ -1,16 +0,0 @@ -use strict; -use warnings; -use ExtUtils::MakeMaker; - -WriteMakefile( - NAME => 'Acme::Study::Perl', - AUTHOR => 'Andreas König ', - VERSION_FROM => 'lib/Acme/Study/Perl.pm', - ABSTRACT_FROM => 'lib/Acme/Study/Perl.pm', - PL_FILES => {}, - PREREQ_PM => { - 'Test::More' => 0, - }, - dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', }, - clean => { FILES => 'Acme-Study-Perl-*' }, -); diff --git a/README~ b/README~ deleted file mode 100644 index 15438ff..0000000 --- a/README~ +++ /dev/null @@ -1,52 +0,0 @@ -Acme-Study-Perl - -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 to get an idea of the module's 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 - -SUPPORT AND DOCUMENTATION - -After installing, you can find documentation for this module with the -perldoc command. - - perldoc Acme::Study::Perl - -You can also look for information at: - - RT, CPAN's request tracker - http://rt.cpan.org/NoAuth/Bugs.html?Dist=Acme-Study-Perl - - AnnoCPAN, Annotated CPAN documentation - http://annocpan.org/dist/Acme-Study-Perl - - CPAN Ratings - http://cpanratings.perl.org/d/Acme-Study-Perl - - Search CPAN - http://search.cpan.org/dist/Acme-Study-Perl - - -COPYRIGHT AND LICENCE - -Copyright (C) 2008 Andreas König - -This program is free software; you can redistribute it and/or modify it -under the same terms as Perl itself. - diff --git a/lib/Acme/Study/Perl.pm~ b/lib/Acme/Study/Perl.pm~ deleted file mode 100644 index c0db93f..0000000 --- a/lib/Acme/Study/Perl.pm~ +++ /dev/null @@ -1,107 +0,0 @@ -package Acme::Study::Perl; - -use warnings; -use strict; - -=head1 NAME - -Acme::Study::Perl - The great new Acme::Study::Perl! - -=head1 VERSION - -Version 0.01 - -=cut - -our $VERSION = '0.01'; - - -=head1 SYNOPSIS - -Quick summary of what the module does. - -Perhaps a little code snippet. - - use Acme::Study::Perl; - - my $foo = Acme::Study::Perl->new(); - ... - -=head1 EXPORT - -A list of functions that can be exported. You can delete this section -if you don't export anything, such as for a purely object-oriented module. - -=head1 FUNCTIONS - -=head2 function1 - -=cut - -sub function1 { -} - -=head2 function2 - -=cut - -sub function2 { -} - -=head1 AUTHOR - -Andreas König, C<< >> - -=head1 BUGS - -Please report any bugs or feature requests to C, or through -the web interface at L. I will be notified, and then you'll -automatically be notified of progress on your bug as I make changes. - - - - -=head1 SUPPORT - -You can find documentation for this module with the perldoc command. - - perldoc Acme::Study::Perl - - -You can also look for information at: - -=over 4 - -=item * RT: CPAN's request tracker - -L - -=item * AnnoCPAN: Annotated CPAN documentation - -L - -=item * CPAN Ratings - -L - -=item * Search CPAN - -L - -=back - - -=head1 ACKNOWLEDGEMENTS - - -=head1 COPYRIGHT & LICENSE - -Copyright 2008 Andreas König, 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; # End of Acme::Study::Perl diff --git a/t/studyperl.t~ b/t/studyperl.t~ deleted file mode 100644 index 840f0c5..0000000 --- a/t/studyperl.t~ +++ /dev/null @@ -1,55 +0,0 @@ -#!perl -T - -use strict; -use warnings; -use Test::More tests => 3; - -sub not_in_file_ok { - my ($filename, %regex) = @_; - open( my $fh, '<', $filename ) - or die "couldn't open $filename for reading: $!"; - - my %violated; - - while (my $line = <$fh>) { - while (my ($desc, $regex) = each %regex) { - if ($line =~ $regex) { - push @{$violated{$desc}||=[]}, $.; - } - } - } - - if (%violated) { - fail("$filename contains boilerplate text"); - diag "$_ appears on lines @{$violated{$_}}" for keys %violated; - } else { - pass("$filename contains no boilerplate text"); - } -} - -sub module_boilerplate_ok { - my ($module) = @_; - not_in_file_ok($module => - 'the great new $MODULENAME' => qr/ - The great new /, - 'boilerplate description' => qr/Quick summary of what the module/, - 'stub function definition' => qr/function[12]/, - ); -} - -TODO: { - local $TODO = "Need to replace the boilerplate text"; - - not_in_file_ok(README => - "The README is used..." => qr/The README is used/, - "'version information here'" => qr/to provide version information/, - ); - - not_in_file_ok(Changes => - "placeholder date/time" => qr(Date/time) - ); - - module_boilerplate_ok('lib/Acme/Study/Perl.pm'); - - -} - -- 2.11.4.GIT