use Test::More 'no_plan'; use_ok 'HTML::FromText'; $html = text2html( <<__TEXT__, paras => 1, blockcode => 1 ); Foo Bar __TEXT__ cmp_ok( $html, 'eq', <<__HTML__, 'blockcode should use pre' );
__HTML__ $html = text2html( <<__TEXT__, paras => 1, blockparas => 1 ); Foo Bar __TEXT__ cmp_ok( $html, 'eq', <<__HTML__, 'blockparas should use p' );Foo Bar
__HTML__ $html = text2html( <<__TEXT__, paras => 1, blockquotes => 1 ); Foo Bar __TEXT__ cmp_ok( $html, 'eq', <<__HTML__, 'blockquotes should use div' );Foo Bar
__HTML__ $html = text2html( <<__TEXT__, paras => 1, tables => 1 ); Perl Command Line Casey West Introduction to CPAN Testing Adam J. Foxson Parsing JavaScript David Hand Test Better with Test::More Casey West Creating a Template Toolkit Plugin Chris Winters GD::SIRDS David Hand __TEXT__ cmp_ok( $html, 'eq', <<__HTML__, 'table should work' );Foo Bar
| Perl Command Line | Casey West |
| Introduction to CPAN Testing | Adam J. Foxson |
| Parsing JavaScript | David Hand |
| Test Better with Test::More | Casey West |
| Creating a Template Toolkit Plugin | Chris Winters |
| GD::SIRDS | David Hand |
| *01.08.2003* | 19:00 | Robot Club | http://pgh.pm.org/m/200301.html |
| *02.12.2003* | 19:00 | Lightning Talks | http://pgh.pm.org/m/200302.html |
| *03.12.2003* | 19:00 | Social Gathering | http://pgh.pm.org/m/200303.html |
| *04.09.2003* | 19:00 | Technical Meeting | http://pgh.pm.org/m/200304.html |
| *05.14.2003* | 19:00 | Social Gathering | http://pgh.pm.org/m/200305.html |
| *06.14.2003* | 11:00 | /burgh?/ Meetup | http://pgh.pm.org/m/200306.html |
| *07.09.2003* | 19:00 | Social Meeting | http://pgh.pm.org/m/200307.html |
| *08.13.2003* | 19:00 | Technical Meeting | http://pgh.pm.org/m/200308.html |