browser: update dark stylesheet, drop light
[sheet.git] / common.inc.plp
index d51e3e672870520d126a6e0fc10d4f5c02128357..4c0f1ff996ca84f857c99a9cfa3eb3ad596ec870 100644 (file)
@@ -4,7 +4,7 @@ use strict;
 use warnings;
 no  warnings 'qw';  # you know what you doing
 no  warnings 'uninitialized';  # save some useless checks for more legible code
-use open IO => ':utf8';
+use open ':std' => ':utf8';
 
 use File::stat 'stat';
 use HTTP::Date;
@@ -61,7 +61,7 @@ sub Html {
        # announce and check data modification
        checkmodified(
                $ENV{SCRIPT_FILENAME},
-               (grep { /^Shiar_/ } values %INC),
+               (grep { /\bShiar_/ } values %INC),
                $meta->{data} ? @{ $meta->{data} } : (),
        );