On Fri, 9 Apr 2010 12:05:52 +0300, jari.aalto@cante.net wrote: > From: Jari Aalto <jari.aalto@cante.net> > > Add space after each comma. I think "spaces after comma" is a VERY good start for making the docs more consistent, but I think it better be patches against a complete set of pods, instead of one file at the time. I also think that "spaces after comma" should *ONLY* do "spaces after comma", and not some other changes squeeked in. Of course all these changes are for 5.13.0, and maybe 5.12.1 > Signed-off-by: Jari Aalto <jari.aalto@cante.net> > --- > pod/perlutil.pod | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/pod/perlutil.pod b/pod/perlutil.pod > index 2d9b4ad..b1c332d 100644 > --- a/pod/perlutil.pod > +++ b/pod/perlutil.pod > @@ -88,8 +88,8 @@ F<a2p> converts F<awk> scripts to Perl programs; for example, C<a2p -F:> > on the simple F<awk> script C<{print $2}> will produce a Perl program > based around this code: > > - while (<>) { > - ($Fld1,$Fld2) = split(/[:\n]/, $_, 9999); > + while ( <> ) { ^ ^ That has never been discussed (yet). I don't like that > + my ($Fld1, $Fld2) = split(/[:\n]/, $_, 9999); > print $Fld2; > } > -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using & porting perl 5.6.2, 5.8.x, 5.10.x, 5.11.x on HP-UX 10.20, 11.00, 11.11, 11.23, and 11.31, OpenSuSE 10.3, 11.0, and 11.1, AIX 5.2 and 5.3. http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/ http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/Thread Previous | Thread Next