The strange thing is that the "reopened" files are created but all output still goes to the first one.
Probably a Windows issue...
Ok got it. I'm pushing new file handles onto the @FH array, but only the first 3 ones are written!
The trouble with overly clever one liners... 🤦🏻♂️
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In reply to Re^4: Split tab-separated file into separate files, based on column name (solved)
by LanX
in thread Split tab-separated file into separate files, based on column name
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |