develooper Front page | perl.perl5.porters | Postings from August 2017

my_strerror() as API function

Thread Next
August 12, 2017 10:54
my_strerror() as API function
Message ID:
With commit ec268cc8df7c7a90811a099d422eef6a31bf9f8b, between 5.27.1
and 5.27.2, my_strerror() was removed from the public API.  I think this
was a mistake and it should be restored.  It provides a useful facility
that's otherwise difficult to achieve: errno-based messages that are
responsive to "use locale" in the same way as $!.  I use it for this
purpose in the CPAN module Hash::SharedMem, and its withdrawal from the
public API breaks its intended behaviour of matching $!.


Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About