Fix doc bug #22067, noticed by Mark Knutsen
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Mon, 5 May 2003 20:01:36 +0000 (20:01 +0000)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Mon, 5 May 2003 20:01:36 +0000 (20:01 +0000)
p4raw-id: //depot/perl@19430

pod/perlfunc.pod

index 7b441e0..6867857 100644 (file)
@@ -973,7 +973,7 @@ element to return happens to be C<undef>.
 
 You may also use C<defined(&func)> to check whether subroutine C<&func>
 has ever been defined.  The return value is unaffected by any forward
-declarations of C<&foo>.  Note that a subroutine which is not defined
+declarations of C<&func>.  Note that a subroutine which is not defined
 may still be callable: its package may have an C<AUTOLOAD> method that
 makes it spring into existence the first time that it is called -- see
 L<perlsub>.