bugPSPP - Bugs: bug #19335, Get rid of warnings in perl scripts

 
 

bug #19335: Get rid of warnings in perl scripts

Submitter:  John Darrington <jmd>
Submitted:  Sun 18 Mar 2007 06:17:49 AM UTC
   
 
Category:  Compilation/Portability Severity:  1 - Wishlist
Status:  Fixed Assigned to:  blp
Open/Closed:  Closed Release:  None
Effort:  0.00
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 18 Jul 2007 03:21:17 AM UTC, comment #4: 

Thanks for review.  I checked this in.

Ben Pfaff <blp>
Group administrator
Fri 13 Jul 2007 12:53:46 AM UTC, comment #3: 

Seems to work fine for me.

John Darrington <jmd>
Group administrator
Thu 12 Jul 2007 12:51:36 AM UTC, comment #2: 

This patch standardizes on "use strict; use warnings 'all';" for all the Perl scripts I could find in the source tree and fixes the warnings that it produces.  As part of that I greatly simplified the get-commands.pl parsing, although it's probably harder to read now.  I also made get-commands.pl add an "End:" line to the Emacs mode comment that it produces, without which Emacs gives a warning when I open ni.texi.

(file #13289)

Ben Pfaff <blp>
Group administrator
Sun 18 Mar 2007 04:15:41 PM UTC, comment #1: 

Making them clean on "use strict" is good too.

Ben Pfaff <blp>
Group administrator
Sun 18 Mar 2007 06:17:49 AM UTC, original submission:  

We should make the perl scripts run without complaining, when run with perl -w .  This will mean lower probability of portability problems and perl version problems.

John Darrington <jmd>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #13289:  perl-warning-avoidance.patch added by blp (7KiB - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by blp (Posted a comment)
  • -email is unavailable- added by jmd (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-07-18 blp StatusReady for Test/Review Fixed
        Open/ClosedOpen Closed
    2007-07-13 jmd Assigned toNone blp
    2007-07-12 blp StatusNone Ready for Test/Review
    2007-07-12 blp Attached File- Added perl-warning-avoidance.patch, #13289

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code