]> Sergey Matveev's repositories - public-inbox.git/commit
xapcmd: replace Xtmpdirs with File::Temp->newdir
authorEric Wong <e@80x24.org>
Sun, 24 Nov 2019 00:22:33 +0000 (00:22 +0000)
committerEric Wong <e@80x24.org>
Sun, 24 Nov 2019 21:46:53 +0000 (21:46 +0000)
commit2a3e3a0469f54f6a4f80bf04614e5ddd794a6c5e
treecaa3259450d42ff2ced7e9f0adaaaf45e0e45cd5
parentf86958c3a8ed6cd130aa0ac51bd9ec970f87e301
xapcmd: replace Xtmpdirs with File::Temp->newdir

Since we're using Perl 5.10.1 and File::Temp 0.19+, we don't
need Xtmpdirs at all for cleaning up tempdirs on failure and
can just rely on the DESTROY handler provided by File::Temp.
lib/PublicInbox/Xapcmd.pm