From: Philip Newton Date: Wed, 2 May 2001 18:39:03 +0000 (+0200) Subject: [DOC PATCH bleadperl] minor nits in perlop.pod X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b159ebd369026559ce72753bffc2fec6cafb7b23;p=p5sagit%2Fp5-mst-13.2.git [DOC PATCH bleadperl] minor nits in perlop.pod Message-ID: <3AF05447.15525.173B588@localhost> p4raw-id: //depot/perl@9961 --- diff --git a/pod/perlop.pod b/pod/perlop.pod index 9cae3a2..3def0ea 100644 --- a/pod/perlop.pod +++ b/pod/perlop.pod @@ -1701,7 +1701,7 @@ The <> symbol will return C for end-of-file only once. If you call it again after this, it will assume you are processing another @ARGV list, and if you haven't set @ARGV, will read input from STDIN. -If angle brackets contain is a simple scalar variable (e.g., +If what the angle brackets contain is a simple scalar variable (e.g., <$foo>), then that variable contains the name of the filehandle to input from, or its typeglob, or a reference to the same. For example: @@ -1765,7 +1765,7 @@ than because the latter will alternate between returning a filename and returning false. -It you're trying to do variable interpolation, it's definitely better +If you're trying to do variable interpolation, it's definitely better to use the glob() function, because the older notation can cause people to become confused with the indirect filehandle notation.