Created
June 4, 2012 12:13
-
-
Save kenjiskywalker/2867977 to your computer and use it in GitHub Desktop.
Test::Pod::Coverage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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