chiark
/
gitweb
/
~mdw
/
tgal
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d66be5
)
mason/.perl-lib/TrivGal.pm: Remove final `;' after `package' blocks.
author
Mark Wooding
<mdw@distorted.org.uk>
Wed, 22 Dec 2021 18:19:06 +0000
(18:19 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sat, 25 Dec 2021 16:09:18 +0000
(16:09 +0000)
mason/.perl-lib/TrivGal.pm
patch
|
blob
|
blame
|
history
diff --git
a/mason/.perl-lib/TrivGal.pm
b/mason/.perl-lib/TrivGal.pm
index 5bfc9301ee90aafdddadcad341ec0a7cd9e06671..a77c75aa164babdda53739de84fc9979ed0dc557 100644
(file)
--- 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 ($) {