/openbsd-src/gnu/usr.bin/perl/cpan/Module-Metadata/t/ |
H A D | extract-version.t | 25 package Simple; 33 package Simple; 39 all_versions => { Simple => '1.23' }, 42 package Simple; 48 all_versions => { Simple => '1.23' }, 51 package Simple; 59 package Simple; 63 all_versions => { Simple => '1.23' }, 68 package Simple; 73 all_versions => { Simple [all...] |
H A D | metadata.t | 42 my $distname = 'Simple' . $test_num++; 82 my $file = File::Spec->catfile('lib', 'Simple.pm'); 83 my ($dist_name, $dist_dir) = new_dist(files => { $file => "package Simple;\n" }); 101 'Simple', inc => [ 'lib', @INC ] ); 108 my $file = File::Spec->catfile('lib', 'Simple.pm'); 110 package Simple; 112 package Error::Simple; 114 package Simple; 124 # Module 'Simple.pm' does not contain package 'Simple'; 126 my $file = File::Spec->catfile('lib', 'Simple.pm'); [all …]
|
H A D | extract-package.t | 20 package => [ 'Simple' ], 22 package Simple; 27 package => [ 'Simple::Edward' ], 29 package Simple::Edward; 34 package => [ 'Simple::Edward::' ], 36 package Simple::Edward::; 41 package => [ "Simple'Edward" ], 43 package Simple'Edward; 48 package => [ "Simple'Edward::" ], 50 package Simple'Edwar [all...] |
/openbsd-src/gnu/usr.bin/perl/cpan/Pod-Simple/lib/Pod/Simple/ |
H A D | Debug.pm | 1 package Pod::Simple::Debug; 20 Carp::croak("Usage:\n use Pod::Simple::Debug (NUMVAL)\nor" 21 . "\n use Pod::Simple::Debug (\\\$var, STARTNUMVAL)\nAborting"); 25 Carp::croak("Usage:\n use Pod::Simple::Debug (NUMVAL)\nor" 26 . "\n use Pod::Simple::Debug (\\\$var, STARTNUMVAL)\nAborting"); 29 if( defined &Pod::Simple::DEBUG ) { 31 Carp::croak("It's too late to call Pod::Simple::Debug -- " 32 . "Pod::Simple has already loaded\nAborting"); 40 . "\nUsage:\n use Pod::Simple::Debug (NUMVAL)\nor" 41 . "\n use Pod::Simple [all...] |
H A D | Methody.pm | 1 package Pod::Simple::Methody; 4 use Pod::Simple (); 6 our @ISA = ('Pod::Simple'); 44 Pod::Simple::Methody -- turn Pod::Simple events into method calls 51 use base qw(Pod::Simple::Methody); 72 interest to people writing Pod formatters based on Pod::Simple. 75 Pod::Simple's _handle_element_start, _handle_text, and 77 calls. (Otherwise, this is a subclass of L<Pod::Simple> and inherits all 84 When Pod::Simple see [all...] |
H A D | PullParserToken.pm | 1 package Pod::Simple::PullParserToken; 2 # Base class for tokens gotten from Pod::Simple::PullParser's $parser->get_token 13 sub dump { Pod::Simple::pretty( [ @{ $_[0] } ] ) } 43 Pod::Simple::PullParserToken -- tokens from Pod::Simple::PullParser 47 Given a $parser that's an object of class Pod::Simple::PullParser 64 (Also see L<Pod::Simple::PullParser>) 68 When you do $parser->get_token on a L<Pod::Simple::PullParser>, you should 69 get an object of a subclass of Pod::Simple::PullParserToken. 84 $token->isa('Pod::Simple [all...] |
H A D | TextContent.pm | 1 package Pod::Simple::TextContent; 5 use Pod::Simple (); 7 our @ISA = ('Pod::Simple'); 25 $_[1] =~ s/$Pod::Simple::shy//g; 26 $_[1] =~ s/$Pod::Simple::nbsp/ /g; 44 Pod::Simple::TextContent -- get the text content of Pod 50 perl -MPod::Simple::TextContent -e \ 51 "exit Pod::Simple::TextContent->filter(shift)->any_errata_seen" \ 57 mainly meant for use by the Pod::Simple test suite, but you may find 60 This is a subclass of L<Pod::Simple> an [all...] |
H A D | PullParserEndToken.pm | 1 package Pod::Simple::PullParserEndToken; 4 use Pod::Simple::PullParserToken (); 5 our @ISA = ('Pod::Simple::PullParserToken'); 29 Pod::Simple::PullParserEndToken -- end-tokens from Pod::Simple::PullParser 33 (See L<Pod::Simple::PullParser>) 37 When you do $parser->get_token on a L<Pod::Simple::PullParser>, you might 40 This is a subclass of L<Pod::Simple::PullParserToken> and inherits all its methods, 70 Pod::Simple::PullParserEndToken->new( I<tagname> ) 75 L<Pod::Simple [all...] |
H A D | DumpAsXML.pm | 1 package Pod::Simple::DumpAsXML; 4 use Pod::Simple (); 5 BEGIN {our @ISA = ('Pod::Simple')} 10 BEGIN { *DEBUG = \&Pod::Simple::DEBUG unless defined &DEBUG } 88 Pod::Simple::DumpAsXML -- turn Pod into XML 92 perl -MPod::Simple::DumpAsXML -e \ 93 "exit Pod::Simple::DumpAsXML->filter(shift)->any_errata_seen" \ 98 Pod::Simple::DumpAsXML is a subclass of L<Pod::Simple> that parses Pod 100 interest to people writing Pod formatters based on Pod::Simple [all...] |
H A D | XMLOutStream.pm | 1 package Pod::Simple::XMLOutStream; 5 use Pod::Simple (); 8 our @ISA = ('Pod::Simple'); 9 *DEBUG = \&Pod::Simple::DEBUG unless defined &DEBUG; 97 Pod::Simple::XMLOutStream -- turn Pod into XML 101 perl -MPod::Simple::XMLOutStream -e \ 102 "exit Pod::Simple::XMLOutStream->filter(shift)->any_errata_seen" \ 107 Pod::Simple::XMLOutStream is a subclass of L<Pod::Simple> that parses 110 Pod::Simple [all...] |
H A D | PullParserStartToken.pm | 1 package Pod::Simple::PullParserStartToken; 4 use Pod::Simple::PullParserToken (); 5 our @ISA = ('Pod::Simple::PullParserToken'); 44 Pod::Simple::PullParserStartToken -- start-tokens from Pod::Simple::PullParser 48 (See L<Pod::Simple::PullParser>) 52 When you do $parser->get_token on a L<Pod::Simple::PullParser> object, you might 55 This is a subclass of L<Pod::Simple::PullParserToken> and inherits all its methods, 107 Pod::Simple::PullParserStartToken->new( I<tagname>, I<attrhash> ) 112 L<Pod::Simple [all...] |
H A D | PullParserTextToken.pm | 1 package Pod::Simple::PullParserTextToken; 4 use Pod::Simple::PullParserToken (); 5 our @ISA = ('Pod::Simple::PullParserToken'); 25 Pod::Simple::PullParserTextToken -- text-tokens from Pod::Simple::PullParser 29 (See L<Pod::Simple::PullParser>) 33 When you do $parser->get_token on a L<Pod::Simple::PullParser>, you might 36 This is a subclass of L<Pod::Simple::PullParserToken> and inherits all its methods, 84 Pod::Simple::PullParserTextToken->new( I<text> ) 89 L<Pod::Simple [all...] |
H A D | LinkSection.pm | 1 package Pod::Simple::LinkSection; 6 use Pod::Simple::BlackBox; 10 '""' => \&Pod::Simple::BlackBox::stringify_lol, 11 'bool' => \&Pod::Simple::BlackBox::stringify_lol, 23 goto &Pod::Simple::BlackBox::stringify_lol; 26 goto &Pod::Simple::BlackBox::stringify_lol; 73 Pod::Simple::LinkSection -- represent "section" attributes of L codes 83 Pod::Simple uses this class for representing the value of the 97 "use base qw(Pod::Simple::Methody); 110 ], 'Pod::Simple [all...] |
H A D | Checker.pm | 5 package Pod::Simple::Checker; 9 use Pod::Simple::Methody (); 10 use Pod::Simple (); 12 our @ISA = ('Pod::Simple::Methody'); 13 BEGIN { *DEBUG = defined(&Pod::Simple::DEBUG) 14 ? \&Pod::Simple::DEBUG 94 $self->{'Thispara'} =~ s/$Pod::Simple::shy//g; 97 $out =~ s/$Pod::Simple::nbsp/ /g; 111 $self->{'Thispara'} =~ s/$Pod::Simple::nbsp/ /g; 112 $self->{'Thispara'} =~ s/$Pod::Simple [all...] |
H A D | Text.pm | 1 package Pod::Simple::Text; 5 use Pod::Simple::Methody (); 6 use Pod::Simple (); 8 our @ISA = ('Pod::Simple::Methody'); 9 BEGIN { *DEBUG = defined(&Pod::Simple::DEBUG) 10 ? \&Pod::Simple::DEBUG 83 $self->{'Thispara'} =~ s/$Pod::Simple::shy//g; 86 $out =~ s/$Pod::Simple::nbsp/ /g; 97 $self->{'Thispara'} =~ s/$Pod::Simple::nbsp/ /g; 98 $self->{'Thispara'} =~ s/$Pod::Simple [all...] |
H A D | DumpAsText.pm | 1 package Pod::Simple::DumpAsText; 4 use Pod::Simple (); 5 BEGIN { our @ISA = ('Pod::Simple')} 9 BEGIN { *DEBUG = \&Pod::Simple::DEBUG unless defined &DEBUG } 89 Pod::Simple::DumpAsText -- dump Pod-parsing events as text 93 perl -MPod::Simple::DumpAsText -e \ 94 "exit Pod::Simple::DumpAsText->filter(shift)->any_errata_seen" \ 101 based on Pod::Simple. It is useful for seeing exactly what events you 104 This is a subclass of L<Pod::Simple> and inherits all its methods. 108 L<Pod::Simple [all...] |
H A D | SimpleTree.pm | 1 package Pod::Simple::SimpleTree; 5 use Pod::Simple (); 8 our @ISA = ('Pod::Simple'); 9 *DEBUG = \&Pod::Simple::DEBUG unless defined &DEBUG; 62 Pod::Simple::SimpleTree -- parse Pod into a simple parse tree 72 % perl -MPod::Simple::SimpleTree -MData::Dumper -e \ 73 "print Dumper(Pod::Simple::SimpleTree->new->parse_file(shift)->root)" \ 104 This is a subclass of L<Pod::Simple> and inherits all its methods. 120 Every text node in the tree is represented by a simple (no [all...] |
/openbsd-src/gnu/usr.bin/perl/cpan/Pod-Simple/t/ |
H A D | fcodes_e.t | 12 #use Pod::Simple::Debug (6); 14 use Pod::Simple::DumpAsXML; 15 use Pod::Simple::XMLOutStream; 17 print "# Pod::Simple version $Pod::Simple::VERSION\n"; 29 &is( Pod::Simple::XMLOutStream->_out("=pod\n\n1E<lt>2\n"), 30 Pod::Simple::XMLOutStream->_out("=pod\n\n1<2") 32 &is( Pod::Simple::XMLOutStream->_out("=pod\n\n1E<gt>2\n"), 33 Pod::Simple::XMLOutStream->_out("=pod\n\n1>2") 35 &is( Pod::Simple [all...] |
H A D | 00about.t | 12 Pod::Simple 13 Pod::Simple::BlackBox 14 Pod::Simple::Checker 15 Pod::Simple::DumpAsText 16 Pod::Simple::DumpAsXML 17 Pod::Simple::HTML 18 Pod::Simple::HTMLBatch 19 Pod::Simple::HTMLLegacy 20 Pod::Simple::LinkSection 21 Pod::Simple [all...] |
H A D | verb_fmt.t | 6 #use Pod::Simple::Debug (6); 8 use Pod::Simple::DumpAsXML; 9 use Pod::Simple::XMLOutStream; 11 print "# Pod::Simple version $Pod::Simple::VERSION\n"; 13 sub e { Pod::Simple::DumpAsXML->_duo(\&without_vf, @_) } 14 sub ev { Pod::Simple::DumpAsXML->_duo(\&with_vf, @_) } 29 &is( Pod::Simple::XMLOutStream->_out(\&with_vf, 42 &is( Pod::Simple::XMLOutStream->_out(\&with_vf, 55 &is( Pod::Simple [all...] |
H A D | heads.t | 5 #use Pod::Simple::Debug (6); 13 use Pod::Simple::DumpAsXML; 14 use Pod::Simple::XMLOutStream; 15 print "# Pod::Simple version $Pod::Simple::VERSION\n"; 18 print "# Simple tests for head1 - head6...\n"; 19 is( Pod::Simple::XMLOutStream->_out("\n=head1 Chacha\n\n"), 22 is( Pod::Simple::XMLOutStream->_out("\n=head2 Chacha\n\n"), 25 is( Pod::Simple::XMLOutStream->_out("\n=head3 Chacha\n\n"), 28 is( Pod::Simple [all...] |
H A D | basic.t | 5 #use Pod::Simple::Debug (6); 7 require Pod::Simple::BlackBox; 10 require Pod::Simple; ok 1; 12 Pod::Simple->VERSION(.90); ok 1; 14 #print "# Pod::Simple version $Pod::Simple::VERSION\n"; 16 require Pod::Simple::DumpAsXML; ok 1; 18 require Pod::Simple::XMLOutStream; ok 1; 26 print "# Simple identity tests...\n"; 56 print "# Simple XMLificatio [all...] |
H A D | fcodes.t | 5 #use Pod::Simple::Debug (5); 12 use Pod::Simple::DumpAsXML; 13 use Pod::Simple::XMLOutStream; 14 print "# Pod::Simple version $Pod::Simple::VERSION\n"; 18 is( Pod::Simple::XMLOutStream->_out("=pod\n\nI<foo>\n"), 21 is( Pod::Simple::XMLOutStream->_out("=pod\n\nB< foo>\n"), 24 is( Pod::Simple::XMLOutStream->_out("=pod\n\nB<\tfoo>\n"), 27 is( Pod::Simple::XMLOutStream->_out("=pod\n\nB<\nfoo>\n"), 30 is( Pod::Simple [all...] |
H A D | verbatim.t | 7 #use Pod::Simple::Debug (6); 9 use Pod::Simple::DumpAsXML; 10 use Pod::Simple::XMLOutStream; 11 print "# Pod::Simple version $Pod::Simple::VERSION\n"; 26 is( Pod::Simple::XMLOutStream->_out("\n=pod\n\n foo bar baz\n"), 29 is( Pod::Simple::XMLOutStream->_out("\n=pod\n\n foo bar baz\n quux\n"), 32 is( Pod::Simple::XMLOutStream->_out("\n=pod\n\n foo bar baz\nquux\n"), 37 is( Pod::Simple::XMLOutStream->_out("\n=pod\n\n foo bar baz\n\n quux\n"), 40 is( Pod::Simple [all...] |
/openbsd-src/gnu/usr.bin/perl/cpan/Test-Simple/lib/Test/ |
H A D | Simple.pm | 1 package Test::Simple; 17 Test::Simple - Basic utilities for writing tests. 21 use Test::Simple tests => 1; 30 This is an extremely simple, extremely basic module for writing tests 44 use Test::Simple tests => 23; 84 Test::Simple will start by printing number of tests run in the form 89 If all your tests passed, Test::Simple will exit with zero (which is 92 will be considered failures. If no tests were ever run Test::Simple 112 Here's an example of a simple .t file for the fictional Film module. 114 use Test::Simple test [all...] |