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 /Users/cpanrun/build/5.10.0/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl 1..1 # Running under perl version 5.010000 for darwin # Current time local: Sat Nov 24 01:05:19 2007 # Current time GMT: Sat Nov 24 09:05:19 2007 # Using Test.pm version 1.25
(current mode is '')

This is me

(cyrrent mode is '')

empty

1. 2.opala! 3.opala! Sat Nov 24 01:05:19 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( 'Sat Nov 24 01:05:19 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 /Users/cpanrun/build/5.10.0/html/site/lib/HTML/Expander.html Installing /Users/cpanrun/build/5.10.0/site/lib/HTML/Expander.pm Installing /Users/cpanrun/build/5.10.0/site/man/man3/HTML::Expander.3 Appending installation info to /Users/cpanrun/build/5.10.0/lib/perllocal.pod