X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/97f850c55daaf35929b87fdc7f335556d17e0edc..8ed7634d0fa3b7154275c14477b361b358ee783f:/codec.plp
diff --git a/codec.plp b/codec.plp
index 1ce4611..5c3e572 100644
--- a/codec.plp
+++ b/codec.plp
@@ -16,11 +16,11 @@ Html({
image audio video
'],
stylesheet => [qw'light circus dark red'],
- data => [qw'codec.inc.pl'],
+ data => ["codec-$page.inc.pl"],
raw => '',
});
-my $info = do "codec-$page.inc.pl";
+my $info = Data("codec-$page");
$info and %{$info} > 1
or Abort("Requested codec type $page
not available", '404 request not found', $@ // $!);