diff options
author | Paul Johnson <paul@pjcj.net> | 1999-05-28 16:11:18 +0100 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 1999-05-28 16:44:34 +0000 |
commit | 1e374101a32f2df640b9fad36d86b2ed88f6eaf8 (patch) | |
tree | c15989309d5086d26f24f48a40e8bb87e41b7319 /pod/perlvar.pod | |
parent | 049cc612e09bf08842891c4d3339260de824643a (diff) | |
download | perl-1e374101a32f2df640b9fad36d86b2ed88f6eaf8.tar.gz |
Fixes related to working local $.
To: perl5-porters <perl5-porters@perl.org>
Message-ID: <19990528151118.A289@west-tip.transeda.com>
p4raw-id: //depot/cfgperl@3494
Diffstat (limited to 'pod/perlvar.pod')
-rw-r--r-- | pod/perlvar.pod | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pod/perlvar.pod b/pod/perlvar.pod index cb41c96aa0..9402608daf 100644 --- a/pod/perlvar.pod +++ b/pod/perlvar.pod @@ -220,8 +220,10 @@ to change that. An explicit close on a filehandle resets the line number. Because C<E<lt>E<gt>> never does an explicit close, line numbers increase across ARGV files (but see examples in L<perlfunc/eof>). Consider this variable read-only: setting it does not reposition -the seek pointer; you'll have to do that on your own. (Mnemonic: -many programs use "." to mean the current line number.) +the seek pointer; you'll have to do that on your own. Localizing C<$.> +has the effect of also localizing Perl's notion of "the last read +filehandle". (Mnemonic: many programs use "." to mean the current line +number.) =item input_record_separator HANDLE EXPR |