From f66e0bd0e7a9a8e96187ff3c33fab1ac114c200c Mon Sep 17 00:00:00 2001 From: Michael Witten Date: Sun, 27 Mar 2011 17:22:13 -0700 Subject: [PATCH] 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 --- pod/perlopentut.pod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pod/perlopentut.pod b/pod/perlopentut.pod index 2322907..4bb43bf 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 -- 2.7.4