aboutsummaryrefslogtreecommitdiffstats
path: root/tutorial
diff options
context:
space:
mode:
Diffstat (limited to 'tutorial')
-rw-r--r--tutorial/tutorial2.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/tutorial/tutorial2.html b/tutorial/tutorial2.html
index 04afbd9c..9a962ac3 100644
--- a/tutorial/tutorial2.html
+++ b/tutorial/tutorial2.html
@@ -481,7 +481,8 @@ compiled code at the end of the method. In the statement given to
available.
<p>The variable <code>$_</code> represents the resulting value of the
-method. The type of that variable is the type of the result type (the
+method. So it is a write-only variable.
+The type of that variable is the type of the result type (the
return type) of the method. If the result type is <code>void</code>,
then the type of <code>$_</code> is <code>Object</code> and the value
of <code>$_</code> is <code>null</code>.