]> Sergey Matveev's repositories - public-inbox.git/commitdiff
favor `do {}' over `eval {}' for localized slurp
authorEric Wong <e@yhbt.net>
Sat, 18 Apr 2020 03:38:50 +0000 (03:38 +0000)
committerEric Wong <e@yhbt.net>
Sun, 19 Apr 2020 08:51:24 +0000 (08:51 +0000)
I did not know to use the return value of `do' back in the day.
There's probably no practical difference in these cases, but
`eval' is overkill for these uses and may hide actual errors.

We can get rid of a few redundant `scalar' ops and pass scalar
refs to Email::MIME->new to avoid copies in a few more places,
too.


No differences found