summaryrefslogtreecommitdiff
path: root/pod/perlvar.pod
diff options
context:
space:
mode:
Diffstat (limited to 'pod/perlvar.pod')
-rw-r--r--pod/perlvar.pod11
1 files changed, 11 insertions, 0 deletions
diff --git a/pod/perlvar.pod b/pod/perlvar.pod
index 69e18ce498..fc99b8e23c 100644
--- a/pod/perlvar.pod
+++ b/pod/perlvar.pod
@@ -1401,6 +1401,17 @@ how to select the output channel. See also L<IO::Handle>.
Mnemonic: when you want your pipes to be piping hot.
+=item ${^LAST_FH}
+X<${^LAST_FH}>
+
+This read-only variable contains a reference to the last-read filehandle.
+This is set by C<< <HANDLE> >>, C<readline>, C<tell>, C<eof> and C<seek>.
+This is the same handle that C<$.> and C<tell> and C<eof> without arguments
+use. It is also the handle used when Perl appends ", <STDIN> line 1" to
+an error or warning message.
+
+This variable was added in Perl v5.18.0.
+
=back
=head3 Variables related to formats