- avoids some noise when building the Perl modules for
distributions that check for correctness when converting
POD to man pages
- add a an author test, taken straight from the Test::Pod
documentation, for POD correctness
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
return undef;
}
-=head comment
+=head1 comment
+
request open-ils.cstore open-ils.cstore.json_query.atomic {"select":{"jub":[{"transform":"count", "attregate":1, "column":"id","alias":"count"}]}, "from":"jub","where":{"picklist":1}}
+
=cut
);
}
-=comment
+=head1 comment
unless ( __PACKAGE__->is_registered( $api_prefix.'.search_like' ) ) {
__PACKAGE__->register_method(
);
}
-=comment
+=head1 comment
unless ( __PACKAGE__->is_registered( $api_prefix.'.search_like.'.$field ) ) {
__PACKAGE__->register_method(
);
-=comment Old version
+=head1 comment Old version
my $org_unit_lookup;
sub record_copy_count {
return $self->{requestor} = $content->{userobj};
}
-=head test
+=head1 test
+
sub checkauth {
my $self = shift;
$cache = OpenSRF::Utils::Cache->new('global') unless $cache;
$self->event(OpenILS::Event->new('NO_SESSION'));
return undef;
}
+
=cut
return @string;
}
-=head
+=head1 old implementation
+
sub _modsdoc_to_values {
my( $self, $mods ) = @_;
my $data = {};
}
return $data;
}
+
=cut
sub modsdoc_to_values {
$url .= "/eg/opac/home";
$url .= "?orig_loc=$orig_loc" if $orig_loc;
-=head potential locale/skin implementation
+=head1 potential locale/skin implementation
+
if($locale ne 'en-US') {
$apache->headers_out->add(
"Set-Cookie" => $cgi->cookie(
--- /dev/null
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+
+use Test::More;
+eval "use Test::Pod 1.00";
+plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
+
+all_pod_files_ok();