diff options
author | Michael Witten <mfwitten@gmail.com> | 2011-03-27 17:22:13 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-03-27 17:22:13 -0700 |
commit | f66e0bd0e7a9a8e96187ff3c33fab1ac114c200c (patch) | |
tree | 1adfdf387b67929b1f70685c0f0d7f98fe2d512d /pod/perlopentut.pod | |
parent | ac15a66929edfb66d02681821cb0e74c50ae0f32 (diff) | |
download | perl-f66e0bd0e7a9a8e96187ff3c33fab1ac114c200c.tar.gz |
Docs: Use the symbol `C<< < >>' rather than `less-than'.
Thanks to Tom Christiansen for pointing out that the original
replacement:
C< < >
does not ignore the whitespace.
See:
Message-ID: <28746.1301262347@chthon>
Signed-off-by: Michael Witten <mfwitten@gmail.com>
Diffstat (limited to 'pod/perlopentut.pod')
-rw-r--r-- | pod/perlopentut.pod | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perlopentut.pod b/pod/perlopentut.pod index 2322907630..4bb43bffd7 100644 --- a/pod/perlopentut.pod +++ b/pod/perlopentut.pod @@ -55,7 +55,7 @@ If you prefer the low-punctuation version, you could write that this way: open RESULTS,"> runstats" or die "can't open runstats: $!"; open LOG, ">> logfile " or die "can't open logfile: $!"; -A few things to notice. First, the leading less-than is optional. +A few things to notice. First, the leading C<< < >> is optional. If omitted, Perl assumes that you want to open the file for reading. Note also that the first example uses the C<||> logical operator, and the |