Checking if your kit is complete... Looks good Writing Makefile for HTML::Expander cp Expander.pm blib/lib/HTML/Expander.pm Manifying blib/man3/HTML::Expander.3 PERL_DL_NONLAZY=1 /home/cpanrun/tmp/5.10.0/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl 1..1 # Running under perl version 5.010000 for linux # Current time local: Wed Nov 28 12:16:31 2007 # Current time GMT: Wed Nov 28 20:16:31 2007 # Using Test.pm version 1.25
(current mode is '')

This is me

(cyrrent mode is '')

empty

1. 2.opala! 3.opala! Wed Nov 28 12:16:31 PST 2007 use Test; BEGIN { plan tests => 1 }; use HTML::Expander; use strict; my $ex = new HTML::Expander; $ex->{ 'WARNINGS' }++; $ex->define_tag( 'main', '

', '

' ); $ex->define_tag( 'main', '

', '

' ); $ex->mode_copy( 'new', 'main' ); $ex->define_tag( 'new', '

', '

' ); $ex->define_tag( 'new', '', '
' );
$ex->define_tag( 'new', '',  '
' ); print $ex->expand( "
(current mode is '')
This is me (cyrrent mode is '') empty 1.opala! 2.opala! 3. \n" ); $ex->{ 'EXEC_TAG_ALLOWED' } = 1; print $ex->expand( 'Wed Nov 28 12:16:31 PST 2007 ' ), "\n"; $ex->add_inc_paths( '.' ); print $ex->expand( '' ), "\n"; print "done."; # use Data::Dumper; # print Dumper( $ex ); ok(1); # there is no bad condition check yet done.ok 1 Installing /home/cpanrun/build/5.10.0/html/site/lib/HTML/Expander.html Installing /home/cpanrun/build/5.10.0/site/lib/HTML/Expander.pm Installing /home/cpanrun/build/5.10.0/site/man/man3/HTML::Expander.3 Appending installation info to /home/cpanrun/build/5.10.0/lib/perllocal.pod