This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perldelta for ${^LAST_FH}
authorFather Chrysostomos <sprout@cpan.org>
Tue, 18 Sep 2012 15:29:25 +0000 (08:29 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Tue, 18 Sep 2012 15:29:25 +0000 (08:29 -0700)
pod/perldelta.pod

index dd14be7..7d3ef03 100644 (file)
@@ -52,6 +52,12 @@ The following new DTrace probes have been added:
 
 =back
 
+=head2 C<${^LAST_FH}>
+
+This new variable provides access to the filehandle that was last read.
+This is the handle used by C<$.> and by C<tell> and C<eof> without
+arguments.
+
 =head2 Looser here-doc parsing
 
 Here-doc terminators no longer require a terminating newline character when