X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/2eeaff50760d63e3b9c75802a4198ea97ed0e4de..5e459bbed48de06b1896f0ea685707a9ed66125a:/termcol.plp diff --git a/termcol.plp b/termcol.plp index 90f8a7c..c564255 100644 --- a/termcol.plp +++ b/termcol.plp @@ -35,7 +35,7 @@ sub colcell { "background:$css; color:$inverse; padding:0 1ex", $name, ); - $out .= sprintf '%s', "background:$_; color:$css", $minhex + $out .= sprintf '%s', "background:$_; color:$css", $minhex for @$sample; return "$out\n"; } @@ -151,11 +151,12 @@ for my $r (0 .. 5) { } print "\n"; + print ''; for my $row (0, 12) { - print '
'; + print ''; print colcell(232+$_, ($_*10 + 8) x 3) for $row .. $row+11; - print "
\n"; } + print "\n"; print "\n"; :>