in reply to Re^6: divide multi-column input file into sub-files depending on specific column's value
in thread divide multi-column input file into sub-files depending on specific column's value

"I've been "refining" (lol) a piece of code for 10 straight hours and in the end it's completely wrong and doing something weird - and I don't even know what it's doing"

That's how we all get started, if you get through this part that's an important part of becoming good at programming :-) My recommendation if it gets too frustrating is to take a break from coding and read the docs :-) perlintro

  • Comment on Re^7: divide multi-column input file into sub-files depending on specific column's value