1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124
|
Description: fix manpage-has-bad-whatis-entry lintian warning
PPIx-EditorTools 0.15 reorganized the POD and lost the NAME section
for all modules. When converted to a manpage, this section is used
for indexing and thus should exist everywhere.
Author: Florian Schlichting <fschlich@zedat.fu-berlin.de>
Forwarded: https://github.com/szabgab/PPIx-EditorTools/issues/4
--- a/lib/PPIx/EditorTools/FindUnmatchedBrace.pm
+++ b/lib/PPIx/EditorTools/FindUnmatchedBrace.pm
@@ -16,6 +16,10 @@
=pod
+=head1 NAME
+
+PPIx::EditorTools::FindUnmatchedBrace - PPI-based unmatched-brace-finder
+
=head1 SYNOPSIS
my $brace = PPIx::EditorTools::FindUnmatchedBrace->new->find(
--- a/lib/PPIx/EditorTools/FindVariableDeclaration.pm
+++ b/lib/PPIx/EditorTools/FindVariableDeclaration.pm
@@ -14,6 +14,10 @@
=pod
+=head1 NAME
+
+PPIx::EditorTools::FindVariableDeclaration - inds where a variable was declared using PPI
+
=head1 SYNOPSIS
# finds declaration of variable at cursor
--- a/lib/PPIx/EditorTools/IntroduceTemporaryVariable.pm
+++ b/lib/PPIx/EditorTools/IntroduceTemporaryVariable.pm
@@ -19,6 +19,10 @@
=pod
+=head1 NAME
+
+PPIx::EditorTools::IntroduceTemporaryVariable - Introduces a temporary variable using PPI
+
=head1 SYNOPSIS
my $munged = PPIx::EditorTools::IntroduceTemporaryVariable->new->introduce(
--- a/lib/PPIx/EditorTools/Lexer.pm
+++ b/lib/PPIx/EditorTools/Lexer.pm
@@ -16,6 +16,10 @@
=pod
+=head1 NAME
+
+PPIx::EditorTools::Lexer - Simple Lexer used for syntax highlighting
+
=head1 SYNOPSIS
PPIx::EditorTools::Lexer->new->lexer(
--- a/lib/PPIx/EditorTools/Outline.pm
+++ b/lib/PPIx/EditorTools/Outline.pm
@@ -204,6 +204,10 @@
=pod
+=head1 NAME
+
+PPIx::EditorTools::Outline - Collect use pragmata, modules, subroutiones, methods, attributes
+
=head1 SYNOPSIS
my $outline = PPIx::EditorTools::Outline->new->find(
--- a/lib/PPIx/EditorTools/RenamePackage.pm
+++ b/lib/PPIx/EditorTools/RenamePackage.pm
@@ -18,6 +18,10 @@
=pod
+=head1 NAME
+
+PPIx::EditorTools::RenamePackage - Change the package name
+
=head1 SYNOPSIS
my $munged = PPIx::EditorTools::RenamePackage->new->rename(
--- a/lib/PPIx/EditorTools/RenamePackageFromPath.pm
+++ b/lib/PPIx/EditorTools/RenamePackageFromPath.pm
@@ -22,6 +22,10 @@
=pod
+=head1 NAME
+
+PPIx::EditorTools::RenamePackageFromPath -Change the package name based on the files path
+
=head1 SYNOPSIS
my $munged = PPIx::EditorTools::RenamePackageFromPath->new->rename(
--- a/lib/PPIx/EditorTools/RenameVariable.pm
+++ b/lib/PPIx/EditorTools/RenameVariable.pm
@@ -14,6 +14,10 @@
=pod
+=head1 NAME
+
+PPIx::EditorTools::RenameVariable - Lexically replace a variable name in Perl code
+
=head1 SYNOPSIS
my $munged = PPIx::EditorTools::RenameVariable->new->rename(
--- a/lib/PPIx/EditorTools/ReturnObject.pm
+++ b/lib/PPIx/EditorTools/ReturnObject.pm
@@ -11,6 +11,10 @@
=pod
+=head1 NAME
+
+PPIx::EditorTools::ReturnObject - Simple object to return values from PPIx::EditorTools
+
=head1 SYNOPSIS
my $brace = PPIx::EditorTools::FindUnmatchedBrace->new->find(
|