From: Mark Wooding Date: Wed, 22 Dec 2021 18:19:06 +0000 (+0000) Subject: mason/.perl-lib/TrivGal.pm: Remove final `;' after `package' blocks. X-Git-Url: https://git.distorted.org.uk/~mdw/tgal/commitdiff_plain/65e4ebfd8001f0693b1047e17e178f047915fe94 mason/.perl-lib/TrivGal.pm: Remove final `;' after `package' blocks. --- diff --git a/mason/.perl-lib/TrivGal.pm b/mason/.perl-lib/TrivGal.pm index 5bfc930..a77c75a 100644 --- a/mason/.perl-lib/TrivGal.pm +++ b/mason/.perl-lib/TrivGal.pm @@ -111,7 +111,7 @@ package TrivGal::ImageType { my ($me, @args) = @_; return TrivGal::read_or_set $me, $me->{imlibfmt}, @args; } -}; +} TrivGal::ImageType->new(".jpg")->mimetype("image/jpeg")->imlibfmt("jpeg"); TrivGal::ImageType->new(".png")->mimetype("image/png")->imlibfmt("png"); @@ -230,7 +230,7 @@ package TrivGal::Item { my ($me, @args) = @_; return TrivGal::read_or_set $me, $me->{comment}, @args; } -}; +} export qw{listdir}; sub listdir ($) {