This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
In POSIX, improve the diagnostic for the "use $method" instead.
authorNicholas Clark <nick@ccl4.org>
Wed, 31 Aug 2011 13:20:56 +0000 (15:20 +0200)
committerNicholas Clark <nick@ccl4.org>
Thu, 1 Sep 2011 19:54:13 +0000 (21:54 +0200)
commit11e7c26f941847c62a5adb54686102ec250a8dad
treed04abeb09e0c5c6223f9e593bee5d9137c198b79
parent8fe37eeda0ab69220877c0b1af801830a88f0944
In POSIX, improve the diagnostic for the "use $method" instead.

In the error message, name the POSIX function that was called, as well as
the suggested replacement method. This rephrasing was in the patch
supplied by Aristotle Pagaltzis, but I have retained the existing POSIX
use of :: when describing the method, because given two less than great
choices, I'm inclined to favour retaining the status quo and one change
over two changes.
ext/POSIX/lib/POSIX.pm
ext/POSIX/t/unimplemented.t