]> git.ipfire.org Git - thirdparty/public-inbox.git/commit
sha: avoid string eval for loading Net::SSLeay
authorEric Wong <e@80x24.org>
Fri, 9 May 2025 23:11:57 +0000 (23:11 +0000)
committerEric Wong <e@80x24.org>
Fri, 9 May 2025 23:25:43 +0000 (23:25 +0000)
commit46ebb613b372d62823c3c452714c3c4d0d526366
tree55fbb41f035bf63222e51329a798ce90d7a22ed7
parent2953fc2b1249d4d646a80ff887c67f419da593b6
sha: avoid string eval for loading Net::SSLeay

We can rely on require + import and use glob assigments to give
anonymous subs a place in the symbol table.  This ought to make
it easier to do compile-only syntax checking and hopefully
easier for a hypothetical Perl implementation to optimize.
lib/PublicInbox/SHA.pm