Skip to content

Instantly share code, notes, and snippets.

@kenjiskywalker
Created June 4, 2012 12:13
Show Gist options
  • Save kenjiskywalker/2867977 to your computer and use it in GitHub Desktop.
Save kenjiskywalker/2867977 to your computer and use it in GitHub Desktop.
Test::Pod::Coverage
#!/usr/bin/env perl
use strict;
use warnings;
use Test::Pod::Coverage tests=>1;
pod_coverage_ok( "foo::bar", "ok!" );
package foo;
sub bar{
print "hello!!";
};
1;
package main;
foo::bar();
=pod
=item foo::bar
=cut
__END__
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment