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

Re: [PATCH 5/5] In perlutil.pod, remove EOL whitespace etc.

Thread Previous | Thread Next
From:
H.Merijn Brand
Date:
April 9, 2010 02:45
Subject:
Re: [PATCH 5/5] In perlutil.pod, remove EOL whitespace etc.
Message ID:
20100409114453.6cd1aa29@pc09.procura.nl
On Fri,  9 Apr 2010 12:05:56 +0300, jari.aalto@cante.net wrote:

> From: Jari Aalto <jari.aalto@cante.net>

Except for the subject line, which only mentions half of the work, I
agree. Subject should be "consistent indent and removing trailing
whitespace"

> Signed-off-by: Jari Aalto <jari.aalto@cante.net>
> ---
>  pod/perlutil.pod |   30 +++++++++++++++---------------
>  1 files changed, 15 insertions(+), 15 deletions(-)
> 
> diff --git a/pod/perlutil.pod b/pod/perlutil.pod
> index 75cc7ca..6b7e795 100644
> --- a/pod/perlutil.pod
> +++ b/pod/perlutil.pod
> @@ -23,7 +23,7 @@ The main interface to Perl's documentation is C<perldoc>, although
>  if you're reading this, it's more than likely that you've already found
>  it. F<perldoc> will extract and format the documentation from any file
>  in the current directory, any Perl module installed on the system, or
> -any of the standard documentation pages, such as this one. Use 
> +any of the standard documentation pages, such as this one. Use
>  C<perldoc E<lt>nameE<gt>> to get information on any of the utilities
>  described in this document.
>  
> @@ -89,8 +89,8 @@ on the simple F<awk> script C<{print $2}> will produce a Perl program
>  based around this code:
>  
>      while ( <> ) {
> -        my ($Fld1, $Fld2) = split /[:\n]/, $_, 9999;
> -        print $Fld2;
> +	my ($Fld1, $Fld2) = split /[:\n]/, $_, 9999;
> +	print $Fld2;
>      }
>  
>  =item L<s2p|s2p> and L<psed>
> @@ -99,9 +99,9 @@ Similarly, F<s2p> converts F<sed> scripts to Perl programs. F<s2p> run
>  on C<s/foo/bar> will produce a Perl program based around this:
>  
>      while (<>) {
> -        chomp;
> -        s/foo/bar/g;
> -        print if $printit;
> +	chomp;
> +	s/foo/bar/g;
> +	print if $printit;
>      }
>  
>  When invoked as F<psed>, it behaves as a F<sed> implementation, written in
> @@ -109,25 +109,25 @@ Perl.
>  
>  =item L<find2perl|find2perl>
>  
> -Finally, F<find2perl> translates C<find> commands to Perl equivalents which 
> -use the L<File::Find|File::Find> module. As an example, 
> +Finally, F<find2perl> translates C<find> commands to Perl equivalents which
> +use the L<File::Find|File::Find> module. As an example,
>  C<find2perl . -user root -perm 4000 -print> produces the following callback
>  subroutine for C<File::Find>:
>  
>      sub wanted {
> -        my ($dev, $ino, $mode, $nlink, $uid, $gid);
> +	my ($dev, $ino, $mode, $nlink, $uid, $gid);
>  
> -        ($dev, $ino, $mode, $nlink, $uid, $gid) = lstat $_  and
> -        $uid == $uid{root} and
> -        ($mode & 0777) == 04000;
> +	($dev, $ino, $mode, $nlink, $uid, $gid) = lstat $_  and
> +	$uid == $uid{root} and
> +	($mode & 0777) == 04000;
>  
> -        print $name, "\n";
> +	print $name, "\n";
>      }
>  
>  =back
>  
>  As well as these filters for converting other languages, the
> -L<pl2pm|pl2pm> utility will help you convert old-style Perl 4 libraries to 
> +L<pl2pm|pl2pm> utility will help you convert old-style Perl 4 libraries to
>  new-style Perl5 modules.
>  
>  =head2 Administration
> @@ -154,7 +154,7 @@ and its libraries have been installed correctly.
>  
>  =head2 Development
>  
> -There are a set of utilities which help you in developing Perl programs, 
> +There are a set of utilities which help you in developing Perl programs,
>  and in particular, extending Perl with C.
>  
>  =over 3


-- 
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


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