Subject: | Subroutine IO::Socket::INET::write_atomically redefined |
When using the module I usually get warnings like this:
Subroutine IO::Socket::INET::write_atomically redefined at /opt/perl-5.28.1/lib/site_perl/5.28.1/Net/SSL/ExpireDate.pm line 170.
I think this can be avoided by calling
no warnings 'redefine';
Also, adding a method to the IO::Socket::INET (resp. INET6) namespace does not feel good, probably a better solution would be the localization of the "write_atomically" method (if possible, I did not check it), or creating a subclass of IO::Socket::INET/INET6.