| 1 | package mainscip-perl cpan DateTime-Calendar-Julian 0.108 main/; |
| 2 | |
| 3 | use 5.008scip-perl cpan DateTime-Calendar-Julian 0.108 `5.008`/; |
| 4 | |
| 5 | use strictscip-perl cpan DateTime-Calendar-Julian 0.108 strict/; |
| 6 | use warningsscip-perl cpan DateTime-Calendar-Julian 0.108 warnings/; |
| 7 | |
| 8 | use Test::More 0.88scip-perl cpan DateTime-Calendar-Julian 0.108 Test/`More 0.88`/; # Because of done_testing(); |
| 9 | |
| 10 | BEGIN { |
| 11 | local $@scip-perl cpan DateTime-Calendar-Julian 0.108 main/`$@`. = undef; |
| 12 | eval { |
| 13 | requirescip-perl cpan DateTime-Calendar-Julian 0.108 main/require(). Test::Pod::LinkCheck::Lite; |
| 14 | Test::Pod::LinkCheck::Lite->importscip-perl cpan DateTime-Calendar-Julian 0.108 Test/Pod/LinkCheck/Lite/import().( ':const' ); |
| 15 | 1; |
| 16 | } or planscip-perl cpan DateTime-Calendar-Julian 0.108 main/plan(). skip_all => 'Unable to load Test::Pod::LinkCheck::Lite'; |
| 17 | } |
| 18 | |
| 19 | Test::Pod::LinkCheck::Lite->newscip-perl cpan DateTime-Calendar-Julian 0.108 Test/Pod/LinkCheck/Lite/new().( |
| 20 | prohibit_redirect => sub { |
| 21 | my ( undef, undef, $url ) = @_scip-perl cpan DateTime-Calendar-Julian 0.108 main/`@_`.; |
| 22 | 'http://datetime.perl.org/' eq $url |
| 23 | and return; |
| 24 | return ALLOW_REDIRECT_TO_INDEX; |
| 25 | }, |
| 26 | )->all_pod_files_okscip-perl cpan DateTime-Calendar-Julian 0.108 main/all_pod_files_ok().(); |
| 27 | |
| 28 | done_testing; |
| 29 | |
| 30 | 1; |
| 31 | |
| 32 | # ex: set textwidth=72 : |