develooper Front page | perl.perl5.porters | Postings from April 2003

Re: [PATCH lib/UNIVERSAL.pm] RE: [perl #22018] UNIVERSAL documentatio n contradicts itself

Thread Previous | Thread Next
From:
Casey West
Date:
April 23, 2003 07:32
Subject:
Re: [PATCH lib/UNIVERSAL.pm] RE: [perl #22018] UNIVERSAL documentatio n contradicts itself
Message ID:
20030423143604.GK15574@geeknest.com
It was Wednesday, April 23, 2003 when Robin Barker took the soap box, saying:
: There are also some collision of C<> and -> in the UNIVERSAL.pm pod.
: The attached patch cleans up this and some other bits of the pod.
: My patch should be applied as well as (not instead of) Casey's.

As well, I forgot to address the question of 'if those functions
should not be imported, the documentation should say why'.  So to your
patch and my previous I add the patch below my signature.

Also, your patch was a bit hard to apply because it seems that your
mailer played wrapping games on it.  I've attached a cleaned up copy
of your patch.


  Casey West

-- 
I am a superhero.

--- perl-current.orig/lib/UNIVERSAL.pm  Wed Apr 23 10:24:44 2003
+++ perl-current/lib/UNIVERSAL.pm       Wed Apr 23 10:25:51 2003
@@ -138,6 +138,8 @@
 
 None by default.
 
-You may request the import of all three functions C<isa>, C<can>, and C<VERSION>.
+You may request the import of all three functions (C<isa>, C<can>, and
+C<VERSION>), however it isn't necessary to do so.  Perl magically makes these
+functions act as methods on all objects.
 
 =cut

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About