summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorM.J.T. Guy <mjtg@cus.cam.ac.uk>1997-03-18 14:50:10 +0000
committerChip Salzenberg <chip@atlantic.net>1997-03-09 11:57:19 +1200
commitba8d5fb439878113de8abc9b52d2af237d30fb3c (patch)
treee03c0b17bf37f87e7dc225111e033193286a1b42
parent5f43237038ea7a4151d3bf65aeeecd56ceb78a6a (diff)
downloadperl-ba8d5fb439878113de8abc9b52d2af237d30fb3c.tar.gz
Document return from do FILE
I observe by experiment that you can use 'return' to exit from a 'do', but this fact is not documented. p5p-msgid: E0w70DK-0001yJ-00@ursa.cus.cam.ac.uk
-rw-r--r--pod/perlfunc.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index 0372ee35ee..da066c8134 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -2501,7 +2501,7 @@ so you'll probably want to use them instead. See L</my>.
=item return LIST
-Returns from a subroutine or eval with the value specified. (Note that
+Returns from a subroutine, eval or do with the value specified. (Note that
in the absence of a return a subroutine or eval() will automatically
return the value of the last expression evaluated.)