chiark / gitweb /
mason/.perl-libs/TrivGal.pm (clean_temp_files: Rewrite without `autodie'.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 24 Dec 2024 13:09:16 +0000 (13:09 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 24 Dec 2024 13:09:16 +0000 (13:09 +0000)
commit719873691f9c7e265036a65cd14a05aab8d2f4a7
treee52d8eda44bbbe1ba3c5ce602fd1dd0968a17c20
parent8b42290939d6396f59dddb9d202bcda23f79ea0a
mason/.perl-libs/TrivGal.pm (clean_temp_files: Rewrite without `autodie'.

The `kill' call here would fail with `autodie', and, because the module
invokes `clean_temp_files' at load time, this causes it to be marked as
broken and all later loads will also fail.

Rewrite the function with `autodie' switched off and check for errors
by hand.
mason/.perl-lib/TrivGal.pm