Are you not getting loads of warnings when you run your code?
For example: Scalar value @columns[$#columns] better written as $columns[$#columns] at ...
In reply to Re^3: divide multi-column input file into sub-files depending on specific column's value
by BrowserUk
in thread divide multi-column input file into sub-files depending on specific column's value
by angela2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |