in reply to BEGIN block

why the use of the BEGIN block ? why not just assign the $ENV values at runtime?

So that it has effect at BEGIN time ( at use time)

Maybe those specific %ENV values have no effect at runtime, maybe they only affect IO::Socket::SSL at BEGIN time (the docs ought to clarify this, check the docs)