develooper Front page | perl.perl5.porters | Postings from April 2007

[PATCH pod/perlfunc.pod] Typo in =item say

Thread Next
From:
Abigail
Date:
April 14, 2007 10:23
Subject:
[PATCH pod/perlfunc.pod] Typo in =item say
Message ID:
20070414172241.GB3191@abigail.nl

Audrey pointed out a typo, and since she didn't have the time to
write a patch, I decided to write one.


Abigail


--- pod/perlfunc.pod.orig	2007-04-14 19:15:42.000000000 +0200
+++ pod/perlfunc.pod	2007-04-14 19:18:16.000000000 +0200
@@ -4726,7 +4726,7 @@
 =item say
 
 Just like C<print>, but implicitly appends a newline.
-C<say LIST> is simply an abbreviation for C<{ local $/ = "\n"; print
+C<say LIST> is simply an abbreviation for C<{ local $\ = "\n"; print
 LIST }>.
 
 This keyword is only available when the "say" feature is

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About