]> git.ipfire.org Git - thirdparty/public-inbox.git/commit
spawn: avoid string eval for optional BSD::Resource
authorEric Wong <e@80x24.org>
Tue, 29 Apr 2025 20:47:46 +0000 (20:47 +0000)
committerEric Wong <e@80x24.org>
Thu, 1 May 2025 21:29:49 +0000 (21:29 +0000)
commitbcf8b34c072bcc2381e2b70aa7aba17fe954b0d9
treeadacd84f8d833c1e4e75205b47e5fd0303424b50
parentf8726afe5538a8dc98c814b2098d34209a4b774a
spawn: avoid string eval for optional BSD::Resource

BSD::Resource has had a get_rlimits() sub for a while to return
a hashref to non-Inline::C users.  So favor using that after
`require' rather than a string eval which can't be checked for
syntax-only errors.
lib/PublicInbox/Spawn.pm