This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Docs: Use the symbol `C<< < >>' rather than `less-than'.
authorMichael Witten <mfwitten@gmail.com>
Mon, 28 Mar 2011 00:22:13 +0000 (17:22 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Mon, 28 Mar 2011 00:22:13 +0000 (17:22 -0700)
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>
pod/perlopentut.pod

index 2322907..4bb43bf 100644 (file)
@@ -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