Make perlcritic happy
[gruntmaster-data.git] / lib / Gruntmaster / App / Command / Show.pm
index 45f3eefcf2348b22d8f04b1a1c543c69c9938007..e21578a6df4e409def2b6534f072b9d522be59fe 100644 (file)
@@ -35,7 +35,7 @@ sub show_contest {
        my (%columns) = @_;
        $columns{$_} = strftime '%c', localtime $columns{$_} for qw/start stop/;
 
-       print <<END
+       print <<"END"
 Name: $columns{name}
 Owner: $columns{owner}
 Start: $columns{start}
@@ -48,7 +48,7 @@ sub show_job {
        $columns{date} = strftime '%c', localtime $columns{date};
 
        no warnings 'uninitialized';
-       print <<END
+       print <<"END"
 Problem: $columns{problem}
 Contest: $columns{contest}
 Owner: $columns{owner}
@@ -63,7 +63,7 @@ sub show_problem {
        my (%columns) = @_;
 
        no warnings 'uninitialized';
-       print <<END
+       print <<"END"
 Name: $columns{name}
 Author: $columns{author}
 Statement written by: $columns{writer}
@@ -86,7 +86,7 @@ sub show_user {
        $columns{since} = strftime '%c', localtime $columns{since};
 
        no warnings 'uninitialized';
-       print <<END
+       print <<"END"
 Email: $columns{name} <$columns{email}>
 Phone: $columns{phone}
 Since: $columns{since}
@@ -100,3 +100,40 @@ END
 
 1;
 __END__
+
+=encoding utf-8
+
+=head1 NAME
+
+Gruntmaster::App::Command::Show - display human-readable information about an object
+
+=head1 SYNOPSIS
+
+  gm -u show MGV
+  gm -p show aplusb
+  gm -c show test_ct
+  gm -j show 100
+
+=head1 DESCRIPTION
+
+The get command takes an object ID and prints information about that
+object in a human-readable format.
+
+=head1 SEE ALSO
+
+L<gm>
+
+=head1 AUTHOR
+
+Marius Gavrilescu, E<lt>marius@ieval.roE<gt>
+
+=head1 COPYRIGHT AND LICENSE
+
+Copyright (C) 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,
+at your option, any later version of Perl 5 you may have available.
+
+
+=cut
This page took 0.010664 seconds and 4 git commands to generate.