in reply to Re: Perl File Parsing - My Code Works, but it's Ugly!
in thread Perl File Parsing - My Code Works, but it's Ugly!

Thank you for your reply! I have updated the code in the original post, and added what you suggested. I am going to re-run the script now and see what I get.
  • Comment on Re^2: Perl File Parsing - My Code Works, but it's Ugly!

Replies are listed 'Best First'.
Re^3: Perl File Parsing - My Code Works, but it's Ugly!
by ww (Archbishop) on May 31, 2015 at 20:38 UTC

    Given the advice you took, no downvotes, handslaps or similar....
          BUT FOR FUTURE REFERENCE:

    Please, do NOT ever remove anything you've posted*1* because doing so can take away the context of replies you may have received (or, perhaps, are even being written as you make you change). Instead, use <strike> content to be deleted before closing the tag </strike> to disavow, show that you've changed something, etc. AND add a warning about your changes -- something like "NOTE: updated (did such and such" -- in a way that makes clear what you did and why.

    And, of course, WELCOME to PM!

    *1* There are exceptions but they are beyond the scope of this advice.


    As a newcomer, you'll find these worth reading.