develooper Front page | perl.perl5.porters | Postings from August 1999

[REPATCH 5.005_61] Re: perldiag.pod omissions

From:
Colin Kuskie
Date:
August 31, 1999 11:24
Subject:
[REPATCH 5.005_61] Re: perldiag.pod omissions
Message ID:
Pine.GSO.4.10.9908311055460.11290-100000@pdxult10a.cadence.com
On Tue, 31 Aug 1999, Ronald J Kimball wrote:

> Unfortunately, this puts the new warning in the wrong place.  The messages
> in perldiag should be alphabetized.

Ok.  I looked around in perldiag and didn't see that it was documented
anywhere that the messages be in alphabetical order except for this:

The symbols C<"%(-?@> sort before the letters, while C<[> and C<\> sort after.

so I made this a little more clear:

Since the messages are listed in alphabetical order, the symbols
C<"%(-?@> sort before the letters, while C<[> and C<\> sort after.

Colin

Index: perldiag.pod
####### perl5.005_61/pod/ => pod
*** pod/perldiag.pod	Mon Aug 30 22:48:35 1999
--- pod/perldiag.pod	Tue Aug 31 11:21:32 1999
***************
*** 26,32 ****
  
  Some of these messages are generic.  Spots that vary are denoted with a %s,
  just as in a printf format.  Note that some messages start with a %s!
! The symbols C<"%(-?@> sort before the letters, while C<[> and C<\> sort after.
  
  =over 4
  
--- 26,33 ----
  
  Some of these messages are generic.  Spots that vary are denoted with a %s,
  just as in a printf format.  Note that some messages start with a %s!
! Since the messages are listed in alphabetical order, the symbols
! C<"%(-?@> sort before the letters, while C<[> and C<\> sort after.
  
  =over 4
  
***************
*** 655,663 ****
  from a deleted (but still opened) file.  You have to say C<-i.bak>, or some
  such.
  
! =item Can't do inplace edit: %s E<gt> 14 characters
  
! (S) There isn't enough room in the filename to make a backup name for the file.
  
  =item Can't do inplace edit: %s is not a regular file
  
--- 656,666 ----
  from a deleted (but still opened) file.  You have to say C<-i.bak>, or some
  such.
  
! =item Can't do inplace edit: %s would not be unique
  
! (S) Your filesystem does not support filenames longer than 14
! characters and Perl was unable to create a unique filename during
! inplace editing with the B<-i> switch.  The file was ignored.
  
  =item Can't do inplace edit: %s is not a regular file
  
***************
*** 904,909 ****
--- 907,918 ----
  was currently active, which is not allowed.  If you really want to do
  this, you should write C<sort { &func } @x> instead of C<sort func @x>.
  
+ =item Can't remove %s: %s, skipping file 
+ 
+ (S) You requested an inplace edit without creating a backup file.  Perl
+ was unable to remove the original file to replace it with the modified
+ file.  The file was left unmodified.
+ 
  =item Can't rename %s to %s: %s, skipping file
  
  (S) The rename done by the B<-i> switch failed for some reason, probably because




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