summaryrefslogtreecommitdiff
path: root/MANIFEST
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2010-08-30 00:41:09 +0200
committerYves Orton <demerphq@gmail.com>2010-08-30 00:42:05 +0200
commit792477b9c2e4c75cb03d07bd6d25dc7e1fdf448e (patch)
tree2a5c4978646bb348852f63311794121f19ed4808 /MANIFEST
parent05c0d6bbe3ec5cc9af99d105b8648ad02ed7cc95 (diff)
downloadperl-792477b9c2e4c75cb03d07bd6d25dc7e1fdf448e.tar.gz
create the "mauve" temporary namespace for things like reftype
Scalar::Util::reftype(), refaddr() and blessed() are all a bit less useful than they could be as they all return C<undef> when their argument is not a reference. While this is logical, it also means that using these routines has to be guarded, and normally guarded in such a way that the internal logic is called twice. Additionally these routines are quite commonly used and having to load an additional DLL and XS code every program is inefficient. Therefore we introduce the "mauve" namespace for to hold the "fixed" equivalents, this namespace is /always/ loaded (like the 're' or 'utf8' namespaces), and thus these routines can be accessed easily at any time. We also provide a new module wrapper in t/lib which allows these routines to be exported into other namespaces if the user so chooses. At Jesse's request I have included weaken() and as it seemed logical to do so I have also added isweak(). Once we have a good name for the namespace we can s/mauve/whatever/g
Diffstat (limited to 'MANIFEST')
-rw-r--r--MANIFEST2
1 files changed, 2 insertions, 0 deletions
diff --git a/MANIFEST b/MANIFEST
index aaa5b20a2b..ca12709983 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -3592,6 +3592,8 @@ lib/less.t See if less support works
lib/locale.pm For "use locale"
lib/locale.t See if locale support works
lib/look.pl A "look" equivalent
+lib/mauve.pm Temporary namespace for new built in "reftype" pseduo keyword (and friends)
+lib/mauve.t tests for "mauve" namespace for new built in "reftype" pseduo keyword (and friends)
lib/Net/hostent.pm By-name interface to Perl's builtin gethost*
lib/Net/hostent.t See if Net::hostent works
lib/Net/netent.pm By-name interface to Perl's builtin getnet*