In POSIX, drastically simplify the wrappers for "unimplemented" functions.
authorAristotle Pagaltzis <pagaltzis@gmx.de>
Wed, 31 Aug 2011 12:59:57 +0000 (14:59 +0200)
committerNicholas Clark <nick@ccl4.org>
Thu, 1 Sep 2011 19:54:13 +0000 (21:54 +0200)
commit8fe37eeda0ab69220877c0b1af801830a88f0944
tree3a5d2e02279268440d585beca10e9f288bb0a83d
parentb0ac411b6a087a98e7889f7422454bf55a39b658
In POSIX, drastically simplify the wrappers for "unimplemented" functions.

Replace all the subroutines that croak() with a data structure and 8 lines in
POSIX::AUTOLOAD().

[By Aristotle Pagaltzis, with some editing by the committer, and most of his
message changes applied as a previous commit to split apart improvements from
pure refactoring]

This commit eliminates the helper functions POSIX::refef() and
POSIX::unimpl(), which were not part of the documented API, not exported,
and not used in any code outside the core (that is visible to Google
codesearch).
ext/POSIX/lib/POSIX.pm
ext/POSIX/lib/POSIX.pod