From 9a2aeca933f3968bb40c06cd825cc27535c2b66f Mon Sep 17 00:00:00 2001 From: rillig Date: Sun, 11 Oct 2015 21:06:20 +0000 Subject: Fixed errors reported by perlcritic in --gentle mode --- pkgtools/pkglint/files/PkgLint/Line.pm | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'pkgtools/pkglint/files/PkgLint/Line.pm') diff --git a/pkgtools/pkglint/files/PkgLint/Line.pm b/pkgtools/pkglint/files/PkgLint/Line.pm index 6f22821e954..bd4e6cb427b 100644 --- a/pkgtools/pkglint/files/PkgLint/Line.pm +++ b/pkgtools/pkglint/files/PkgLint/Line.pm @@ -1,4 +1,5 @@ -#========================================================================== +# $NetBSD: Line.pm,v 1.4 2015/10/11 21:06:20 rillig Exp $ +# # When files are read in by pkglint, they are interpreted in terms of # lines. For Makefiles, line continuations are handled properly, allowing # multiple physical lines to end in a single logical line. For other files @@ -18,9 +19,11 @@ # # A line can have some "extra" fields that allow the results of parsing to # be saved under a name. -#========================================================================== +# package PkgLint::Line; +use strict; + BEGIN { import PkgLint::Util qw( false true @@ -211,7 +214,3 @@ sub set_text($$) { $self->[PHYSLINES] = [[0, "$text\n"]]; $self->[CHANGED] = true; } - -#== End of PkgLint::Line ================================================== - -1; -- cgit v1.2.3