summaryrefslogtreecommitdiff
path: root/cpan/perlfaq/lib/perlfaq7.pod
diff options
context:
space:
mode:
authorDave Rolsky <autarch@urth.org>2011-07-07 13:45:45 -0500
committerDave Rolsky <autarch@urth.org>2011-09-08 21:47:23 -0500
commit82e1c0d96852007516f20ad25f6a264b63de34de (patch)
tree8b8cef4071411fb7f254c89469b0b7820235a806 /cpan/perlfaq/lib/perlfaq7.pod
parenta25275c0c9488d0f50e2e64e5ca84ecb8fd32f7e (diff)
downloadperl-82e1c0d96852007516f20ad25f6a264b63de34de.tar.gz
Remove all references to old OO tutorial docs, and add refs to perlootut where appropriate
Used buildtoc to regenerate pod-related files
Diffstat (limited to 'cpan/perlfaq/lib/perlfaq7.pod')
-rw-r--r--cpan/perlfaq/lib/perlfaq7.pod14
1 files changed, 6 insertions, 8 deletions
diff --git a/cpan/perlfaq/lib/perlfaq7.pod b/cpan/perlfaq/lib/perlfaq7.pod
index df7a07ae9f..38329b229e 100644
--- a/cpan/perlfaq/lib/perlfaq7.pod
+++ b/cpan/perlfaq/lib/perlfaq7.pod
@@ -174,7 +174,7 @@ Here's an example:
$person->{AGE} = 24; # set field AGE to 24
$person->{NAME} = "Nat"; # set field NAME to "Nat"
-If you're looking for something a bit more rigorous, try L<perltoot>.
+If you're looking for something a bit more rigorous, try L<perlootut>.
=head2 How do I create a module?
@@ -248,10 +248,8 @@ Perl doesn't get more formal than that and lets you set up the package
just the way that you like it (that is, it doesn't set up anything for
you).
-The Perl documentation has several tutorials that cover class
-creation, including L<perlboot> (Barnyard Object Oriented Tutorial),
-L<perltoot> (Tom's Object Oriented Tutorial), L<perlbot> (Bag o'
-Object Tricks), and L<perlobj>.
+The Perl documentation has a tutorial on object oriented programming in
+L<perlootut>. Also see the perl objects reference docs in L<perlobj>.
=head2 How can I tell if a variable is tainted?
@@ -641,7 +639,7 @@ then you'll want to use the C<use overload> pragma, documented
in L<overload>.
If you're talking about obscuring method calls in parent classes,
-see L<perltoot/"Overridden Methods">.
+see L<perlobj/"Inheritance">.
=head2 What's the difference between calling a function as &foo and foo()?
@@ -781,7 +779,7 @@ when complex syntax is involved.
=head2 How can I catch accesses to undefined variables, functions, or methods?
The AUTOLOAD method, discussed in L<perlsub/"Autoloading"> and
-L<perltoot/"AUTOLOAD: Proxy Methods">, lets you capture calls to
+L<perlobj/"AUTOLOAD">, lets you capture calls to
undefined functions and methods.
When it comes to undefined variables that would trigger a warning
@@ -793,7 +791,7 @@ under C<use warnings>, you can promote the warning to an error.
Some possible reasons: your inheritance is getting confused, you've
misspelled the method name, or the object is of the wrong type. Check
-out L<perltoot> for details about any of the above cases. You may
+out L<perlobj> for details about any of the above cases. You may
also use C<print ref($object)> to find out the class C<$object> was
blessed into.