common: join stylesheets html inline
[sheet.git] / termcol.plp
index 3f8befcbd42f3dc3abd5574ce0bcb437ac7343da..f2dde7f1cf03bc67b0c56b6a8e003bc10cdf2684 100644 (file)
@@ -2,7 +2,7 @@
 
 Html({
        title => 'terminal colour cheat sheet',
-       version => '1.0',
+       version => '1.1',
        description => [
                "Index of all terminal/console colour codes,",
                "with an example result of various environments.",
@@ -35,14 +35,13 @@ print
 
 <div class="section">
 <:
-use 5.010;
-use Shiar_Sheet::Colour '1.04';
+use Shiar_Sheet::Colour 1.04;
 use List::Util qw( min max );
 use POSIX qw( ceil );
 
 my $palettes = do 'termcol.inc.pl';
 die "Cannot open palette data: $_\n" for $@ || $! || ();
-my $more = do 'termcol-xcolor.inc.pl';
+my $more = do 'termcol-xcolor.inc.pl' || {};
 $palettes = {%$palettes, %$more};
 
 sub colcell {