From a6d4956921ce506c5a81d1e0601c51fb2c84cd4f Mon Sep 17 00:00:00 2001 From: Dave Rolsky Date: Thu, 15 Sep 2011 09:03:09 -0500 Subject: [PATCH] Fix some bugs in the example code for perlootut --- pod/perlootut.pod | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pod/perlootut.pod b/pod/perlootut.pod index f42dec7..52070bf 100644 --- a/pod/perlootut.pod +++ b/pod/perlootut.pod @@ -148,7 +148,7 @@ argument: print "This file is at ", $self->path, "\n"; } - $larry->print_path; + $file->print_info; # The file is at /etc/hostname What makes a method special is I. The arrow operator @@ -166,7 +166,7 @@ name or an object. We can also pass additional arguments to the method: print $prefix, ", ", $self->path, "\n"; } - $larry->print_info("The file is located at "); + $file->print_info("The file is located at "); # The file is located at /etc/hostname =head2 Attributes -- 2.7.4