Checking if your kit is complete... Looks good Writing Makefile for HTML::TokeParser::Simple cp lib/HTML/TokeParser/Simple/Token/Declaration.pm blib/lib/HTML/TokeParser/Simple/Token/Declaration.pm cp lib/HTML/TokeParser/Simple/Token/Tag.pm blib/lib/HTML/TokeParser/Simple/Token/Tag.pm cp lib/HTML/TokeParser/Simple/Token/Tag/End.pm blib/lib/HTML/TokeParser/Simple/Token/Tag/End.pm cp lib/HTML/TokeParser/Simple.pm blib/lib/HTML/TokeParser/Simple.pm cp lib/HTML/TokeParser/Simple/Token/Comment.pm blib/lib/HTML/TokeParser/Simple/Token/Comment.pm cp lib/HTML/TokeParser/Simple/Token/Text.pm blib/lib/HTML/TokeParser/Simple/Token/Text.pm cp lib/HTML/TokeParser/Simple/Token.pm blib/lib/HTML/TokeParser/Simple/Token.pm cp lib/HTML/TokeParser/Simple/Token/ProcessInstruction.pm blib/lib/HTML/TokeParser/Simple/Token/ProcessInstruction.pm cp lib/HTML/TokeParser/Simple/Token/Tag/Start.pm blib/lib/HTML/TokeParser/Simple/Token/Tag/Start.pm Manifying blib/man3/HTML::TokeParser::Simple::Token::Tag.3 Manifying blib/man3/HTML::TokeParser::Simple::Token::Declaration.3 Manifying blib/man3/HTML::TokeParser::Simple::Token::Tag::End.3 Manifying blib/man3/HTML::TokeParser::Simple::Token::Comment.3 Manifying blib/man3/HTML::TokeParser::Simple.3 Manifying blib/man3/HTML::TokeParser::Simple::Token::Text.3 Manifying blib/man3/HTML::TokeParser::Simple::Token.3 Manifying blib/man3/HTML::TokeParser::Simple::Token::ProcessInstruction.3 Manifying blib/man3/HTML::TokeParser::Simple::Token::Tag::Start.3 PERL_DL_NONLAZY=1 /Users/cpanrun/build/5.10.0/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/01get_tag........1..59 ok 1 - use HTML::TokeParser::Simple; ok 2 - HTML::TokeParser::Simple->can('new') ok 3 - ... and the object it returns isa HTML::TokeParser::Simple ok 4 - HTML::TokeParser::Simple->can('get_tag') ok 5 - ... and the object it returns isa HTML::TokeParser::Simple::Token::Tag ok 6 - HTML::TokeParser::Simple::Token::Tag::Start->can('is_declaration') ok 7 - ... and it should return false ok 8 - ... and the token should not be changed ok 9 - HTML::TokeParser::Simple::Token::Tag::Start->can('is_start_tag') ok 10 - ... and it should correctly identify a given start tag ok 11 - ... bug it shouldn't give false positives ok 12 - ... and it should correctly identify a start tag ok 13 - HTML::TokeParser::Simple::Token::Tag::Start->can('is_tag') ok 14 - ... and it should identify a token as a given tag ok 15 - ... and it shouldn't give false positives ok 16 - ... and it should identify that the token is a tag ok 17 - HTML::TokeParser::Simple::Token::Tag::Start->can('get_tag') ok 18 - ... and calling it should succeed ok 19 - ... by returning the correct tag ok 20 - HTML::TokeParser::Simple::Token::Tag::Start->can('return_tag') ok 21 - ... and calling this deprecated method should succeed ok 22 - ... by returning the correct tag ok 23 - HTML::TokeParser::Simple::Token::Tag::Start->can('is_comment') ok 24 - ... but it shouldn't have false positives ok 25 - HTML::TokeParser::Simple::Token::Tag::Start->can('return_text') ok 26 - ... and it should return the correct text ok 27 - ... while issuing a warning ok 28 - ... with an appropriate error message ok 29 - HTML::TokeParser::Simple::Token::Tag::Start->can('as_is') ok 30 - ... and it should return the correct text ok 31 - HTML::TokeParser::Simple::Token::Tag::End->can('is_end_tag') ok 32 - ... and it should identify a particular end tag ok 33 - ... even without a slash ok 34 - ... regardless of case ok 35 - ... and should identify the token as just being an end tag ok 36 - HTML::TokeParser::Simple::Token::Tag::Start->can('get_attr') ok 37 - ... and it should return a hashref ok 38 - ... correctly identifying the bgcolor ok 39 - ... and the alink color ok 40 - ... and fetching a specific attribute should succeed ok 41 - ... and fetching a specific attribute should succeed ok 42 - ... and fetching a specific attribute should succeed ok 43 - HTML::TokeParser::Simple::Token::Tag::Start->can('return_attr') ok 44 - ... and calling this deprecated method should return a hashref ok 45 - ... correctly identifying the bgcolor ok 46 - ... and the alink color ok 47 - ... and fetching a specific attribute should succeed ok 48 - ... and fetching a specific attribute should succeed ok 49 - ... and fetching a specific attribute should succeed ok 50 - HTML::TokeParser::Simple::Token::Tag::Start->can('set_attr') ok 51 - set_attr() should accept what get_attr() returns ok 52 - HTML::TokeParser::Simple::Token::Tag::Start->can('get_attrseq') ok 53 - ... and it should return an array reference ok 54 - ... with the correct number of elements ok 55 - ... in the correct order ok 56 - HTML::TokeParser::Simple::Token::Tag::Start->can('return_attrseq') ok 57 - ... and calling this deprecated method should return an array reference ok 58 - ... with the correct number of elements ok 59 - ... in the correct order ok t/01get_token......1..56 ok 1 - use HTML::TokeParser::Simple; ok 2 - HTML::TokeParser::Simple->can('new') ok 3 - ... and the return value isa HTML::TokeParser::Simple ok 4 - HTML::TokeParser::Simple->can('get_token') ok 5 - ... and the return value isa HTML::TokeParser::Simple::Token ok 6 - HTML::TokeParser::Simple::Token::Declaration->can('is_declaration') ok 7 - ... and it should correctly identify one ok 8 - HTML::TokeParser::Simple::Token::Tag::Start->can('is_start_tag') ok 9 - ... and it should identify the token as a particular start tag ok 10 - ... or as a start tag in general ok 11 - ... but it should not return false positives ok 12 - HTML::TokeParser::Simple::Token::Tag::Start->can('get_tag') ok 13 - ... and it should return the correct tag ok 14 - HTML::TokeParser::Simple::Token::Tag::Start->can('return_tag') ok 15 - ... and calling this deprecated method should return the correct tag ok 16 - HTML::TokeParser::Simple->can('peek') ok 17 - ... and calling it should not change the state of the parser ok 18 - ... even if we try to peek beyond the end of the document ok 19 - Calling peek without arguments should return the next token ok 20 - ... and passing an integer value should return the next X tokens ok 21 - ... but passing it a non-integer value should croak ok 22 - HTML::TokeParser::Simple::Token::Comment->can('is_comment') ok 23 - ... and it should correctly identify a comment ok 24 - HTML::TokeParser::Simple::Token::Comment->can('return_text') ok 25 - ... and it should return the correct text ok 26 - ... while issuing a warning ok 27 - ... with an appropriate error message ok 28 - HTML::TokeParser::Simple::Token::Comment->can('as_is') ok 29 - ... and it should return the correct text ok 30 - HTML::TokeParser::Simple::Token::Text->can('is_text') ok 31 - ... and it should correctly identify text ok 32 - HTML::TokeParser::Simple::Token::Tag::End->can('is_end_tag') ok 33 - ... and it should identify a particular end tag ok 34 - ... even without a slash ok 35 - ... regardless of case ok 36 - ... and should identify the token as just being an end tag ok 37 - HTML::TokeParser::Simple::Token::ProcessInstruction->can('is_pi') ok 38 - ... and it should correctly identify them ok 39 - HTML::TokeParser::Simple::Token::ProcessInstruction->can('is_process_instruction') ok 40 - ... and it should correctly identify them ok 41 - HTML::TokeParser::Simple::Token::ProcessInstruction->can('get_token0') ok 42 - ... and it should return something ok 43 - HTML::TokeParser::Simple::Token::ProcessInstruction->can('return_token0') ok 44 - ... and calling this deprecated method should return something ok 45 - HTML::TokeParser::Simple::Token::Tag::Start->can('get_attr') ok 46 - ... and it should return a hashref ok 47 - ... correctly identifying the bgcolor ok 48 - ... and the alink color ok 49 - HTML::TokeParser::Simple::Token::Tag::Start->can('get_attrseq') ok 50 - ... and it should return an array reference ok 51 - ... with the correct number of elements ok 52 - ... in the correct order ok 53 - HTML::TokeParser::Simple::Token::Tag::Start->can('return_attrseq') ok 54 - ... and calling this deprecated method should return an array reference ok 55 - ... with the correct number of elements ok 56 - ... in the correct order ok t/02munge_html.....1..24 ok 1 - use HTML::TokeParser::Simple; ok 2 - HTML::TokeParser::Simple::Token::Tag::End->can('set_attr') ok 3 - HTML::TokeParser::Simple::Token::Tag::Start->can('set_attr') ok 4 - ... but a good token should set the new attribute ok 5 - ... or overwrite an existing one ok 6 - ... and the attribute sequence should be updated ok 7 - ... as should the attributes themselves ok 8 - HTML::TokeParser::Simple::Token::Tag::Start->can('delete_attr') ok 9 - ... and deleting a non-existent attribute should be a no-op ok 10 - ... and deleting an existing one should succeed ok 11 - ... and deleting should be case-insensitive ok 12 - Calling is_tag() with a regex should succeed ok 13 - ... and not return false positives ok 14 - Calling is_start_tag() with a regex should succeed ok 15 - ... and not return false positives ok 16 - Setting attributes on self-closing tags should succeed ok 17 - ... as should deleting them ok 18 - Setting attributes on self-closing tags should succeed ok 19 - ... as should deleting them ok 20 - HTML::TokeParser::Simple::Token::Tag::Start->can('rewrite_tag') ok 21 - ... and it should correctly rewrite all tags ok 22 - We should be able to fetch tags with escaped attributes ok 23 - ... and rewriting said tags should succeed ok 24 - ... and the attributes should be properly escaped ok t/03constructor....1..15 ok 1 - use HTML::TokeParser::Simple; ok 2 - HTML::TokeParser::Simple->can('new') ok 3 - ... and calling it with an unknown source type should croak() ok 4 - ... we should be able to specify a filename with the constructor ok 5 - The object isa HTML::TokeParser::Simple ok 6 - ... and it should be able to parse the file ok 7 - ... we should be able to specify a filehandle with the constructor ok 8 - The object isa HTML::TokeParser::Simple ok 9 - ... and it should be able to parse the file ok 10 - ... we should be able to specify a string with the constructor ok 11 - The object isa HTML::TokeParser::Simple ok 12 - ... and it should be able to parse the file ok 13 - ... we should be able to specify a URL with the constructor ok 14 - ... and it should be able to parse the file ok 15 - ... but the URL constructor should croak if we cannot fetch the content ok t/04internals......1..16 ok 1 - use HTML::TokeParser::Simple; ok 2 - HTML::TokeParser::Simple::Token::Tag::Start->can('_get_text') ok 3 - HTML::TokeParser::Simple::Token::Tag::Start->can('_get_text') ok 4 - ... and _get_text should return the same value regardless of source ok 5 - HTML::TokeParser::Simple::Token::Tag::Start->can('_get_attrseq') ok 6 - HTML::TokeParser::Simple::Token::Tag::Start->can('_get_attrseq') ok 7 - ... and _get_attrseq should return the same value regardless of source ok 8 - ... and it should match the correct attribute sequence ok 9 - HTML::TokeParser::Simple::Token::Tag::Start->can('_get_attr') ok 10 - HTML::TokeParser::Simple::Token::Tag::Start->can('_get_attr') ok 11 - ... and _get_attr should return the same value regardless of source ok 12 - ... and it should match the correct attributes ok 13 - HTML::TokeParser::Simple::Token::Tag::Start->can('_get_tag') ok 14 - HTML::TokeParser::Simple::Token::Tag::Start->can('_get_tag') ok 15 - ... and _get_tag should return the same value regardless of source ok 16 - ... and it should match the correct tag ok t/pod-coverage.....1..0 # Skip Test::Pod::Coverage required for testing POD coverage skipped all skipped: Test::Pod::Coverage required for testing POD coverage t/pod..............1..9 ok 1 - blib/lib/HTML/TokeParser/Simple.pm ok 2 - blib/lib/HTML/TokeParser/Simple/Token.pm ok 3 - blib/lib/HTML/TokeParser/Simple/Token/Comment.pm ok 4 - blib/lib/HTML/TokeParser/Simple/Token/Declaration.pm ok 5 - blib/lib/HTML/TokeParser/Simple/Token/ProcessInstruction.pm ok 6 - blib/lib/HTML/TokeParser/Simple/Token/Tag.pm ok 7 - blib/lib/HTML/TokeParser/Simple/Token/Text.pm ok 8 - blib/lib/HTML/TokeParser/Simple/Token/Tag/End.pm ok 9 - blib/lib/HTML/TokeParser/Simple/Token/Tag/Start.pm ok All tests successful, 1 test skipped. Files=7, Tests=179, 1 wallclock secs ( 0.84 cusr + 0.21 csys = 1.05 CPU) Installing /Users/cpanrun/build/5.10.0/html/site/lib/HTML/TokeParser/Simple.html Installing /Users/cpanrun/build/5.10.0/html/site/lib/HTML/TokeParser/Simple/Token.html Installing /Users/cpanrun/build/5.10.0/html/site/lib/HTML/TokeParser/Simple/Token/Comment.html Installing /Users/cpanrun/build/5.10.0/html/site/lib/HTML/TokeParser/Simple/Token/Declaration.html Installing /Users/cpanrun/build/5.10.0/html/site/lib/HTML/TokeParser/Simple/Token/ProcessInstruction.html Installing /Users/cpanrun/build/5.10.0/html/site/lib/HTML/TokeParser/Simple/Token/Tag.html Installing /Users/cpanrun/build/5.10.0/html/site/lib/HTML/TokeParser/Simple/Token/Text.html Installing /Users/cpanrun/build/5.10.0/html/site/lib/HTML/TokeParser/Simple/Token/Tag/End.html Installing /Users/cpanrun/build/5.10.0/html/site/lib/HTML/TokeParser/Simple/Token/Tag/Start.html Installing /Users/cpanrun/build/5.10.0/site/lib/HTML/TokeParser/Simple.pm Installing /Users/cpanrun/build/5.10.0/site/lib/HTML/TokeParser/Simple/Token.pm Installing /Users/cpanrun/build/5.10.0/site/lib/HTML/TokeParser/Simple/Token/Comment.pm Installing /Users/cpanrun/build/5.10.0/site/lib/HTML/TokeParser/Simple/Token/Declaration.pm Installing /Users/cpanrun/build/5.10.0/site/lib/HTML/TokeParser/Simple/Token/ProcessInstruction.pm Installing /Users/cpanrun/build/5.10.0/site/lib/HTML/TokeParser/Simple/Token/Tag.pm Installing /Users/cpanrun/build/5.10.0/site/lib/HTML/TokeParser/Simple/Token/Text.pm Installing /Users/cpanrun/build/5.10.0/site/lib/HTML/TokeParser/Simple/Token/Tag/End.pm Installing /Users/cpanrun/build/5.10.0/site/lib/HTML/TokeParser/Simple/Token/Tag/Start.pm Installing /Users/cpanrun/build/5.10.0/site/man/man3/HTML::TokeParser::Simple.3 Installing /Users/cpanrun/build/5.10.0/site/man/man3/HTML::TokeParser::Simple::Token.3 Installing /Users/cpanrun/build/5.10.0/site/man/man3/HTML::TokeParser::Simple::Token::Comment.3 Installing /Users/cpanrun/build/5.10.0/site/man/man3/HTML::TokeParser::Simple::Token::Declaration.3 Installing /Users/cpanrun/build/5.10.0/site/man/man3/HTML::TokeParser::Simple::Token::ProcessInstruction.3 Installing /Users/cpanrun/build/5.10.0/site/man/man3/HTML::TokeParser::Simple::Token::Tag.3 Installing /Users/cpanrun/build/5.10.0/site/man/man3/HTML::TokeParser::Simple::Token::Tag::End.3 Installing /Users/cpanrun/build/5.10.0/site/man/man3/HTML::TokeParser::Simple::Token::Tag::Start.3 Installing /Users/cpanrun/build/5.10.0/site/man/man3/HTML::TokeParser::Simple::Token::Text.3 Appending installation info to /Users/cpanrun/build/5.10.0/lib/perllocal.pod