Acme-AsciiArt2HtmlTable

 view release on metacpan or  search on metacpan

MANIFEST  view on Meta::CPAN

examples/flag_portugal.html
examples/flag_portugal_opt.html
examples/flag_spain
examples/flag_spain.html
examples/flag_spain_opt.html
examples/flag_usa
examples/flag_usa.html
examples/flag_usa_opt.html
examples/heart
examples/heart.html
examples/josecastro
examples/josecastro.html
examples/larry
examples/larry.html
examples/larry_opt.html
examples/merlyn
examples/merlyn.html
examples/merlyn_opt.html
examples/people.html
examples/people_opt.html
examples/rose
examples/rose.html

examples/create_examples  view on Meta::CPAN

_writefile('rose.html',$html);

$ascii = _readfile('smile');
$html = aa2ht({table=>{cellspacing=>1,colspacing=>1},td=>{width=>"4px",height=>"8px"}},$ascii);
_writefile('smile.html',$html);

$ascii = _readfile('heart');
$html = aa2ht($ascii);
_writefile('heart.html',$html);

$ascii = _readfile('josecastro');
$html = aa2ht({td=>{width=>"2px",height=>"1px"},colors=>{"#"=>"ffff00","+"=>"ff0000","."=>"00ff00"}},$ascii);
_writefile('josecastro.html',$html);

# flags
for my $flag (qw/portugal spain usa/) {
  _writefile("flag_$flag.html",aa2ht(_readfile("flag_$flag")));
  _writefile("flag_${flag}_opt.html",aa2ht({'optimization'=>1},_readfile("flag_$flag")));
}

# people
my (%people, %people_opt, %name);



( run in 0.707 second using v1.01-cache-2.11-cpan-39bf76dae61 )