This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Generate @POSIX::EXPORT_OK from %reimpl, %replacement and an exception list.
authorNicholas Clark <nick@ccl4.org>
Thu, 1 Sep 2011 19:32:13 +0000 (21:32 +0200)
committerNicholas Clark <nick@ccl4.org>
Thu, 1 Sep 2011 19:54:14 +0000 (21:54 +0200)
commit8dad66f8c00f37d97eebfe6fbf34239cf17d17a1
treececcc827fb4b3b8e07ccb96f0eece69e56937605
parent57159ffe11d6b0de0a8ec36d5029dcf05676f957
Generate @POSIX::EXPORT_OK from %reimpl, %replacement and an exception list.

This is considerably terser than listing all the entries for @EXPORT_OK
longhand. With this change we can no longer delete from %replacement in
AUTOLOAD(), as import() and load_imports() may be called after AUTOLOAD()
has already been run.
ext/POSIX/lib/POSIX.pm