Update README and copyright notices
[gruntmaster-data.git] / lib / Gruntmaster / App / Command.pm
index b1be168dc43c829b5f666d5e70ecf6373b6a7280..23396c68fe4c58a819f61cc1fcdc5a5a6a530465 100644 (file)
@@ -3,6 +3,7 @@ package Gruntmaster::App::Command;
 use 5.014000;
 use strict;
 use warnings;
+use re '/s';
 
 our $VERSION = '5999.000_004';
 
@@ -13,9 +14,9 @@ sub description {
        my ($self) = @_;
        my ($file) = (ref $self) =~ s,::,/,gr;
        my $usage;
-       open my $fh, '>', \$usage;
+       open my $fh, '>', \$usage; ## no critic (RequireCheckedOpen)
        pod2usage(-input => $INC{"$file.pm"}, -output => $fh, -exitval => 'NOEXIT', -verbose => 99, -sections => [qw/SYNOPSIS DESCRIPTION/]);
-       close $fh;
+       close $fh; ## no critic (RequireCheckedClose)
        $usage =~ s/Usage:/Usage examples:/;
        1 while chomp $usage;
        $usage
@@ -51,7 +52,7 @@ Marius Gavrilescu, E<lt>marius@ieval.roE<gt>
 
 =head1 COPYRIGHT AND LICENSE
 
-Copyright (C) 2015 by Marius Gavrilescu
+Copyright (C) 2014-2015 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.20.1 or,
This page took 0.010515 seconds and 4 git commands to generate.