in reply to Additional headers
The code posted here does not compile. Errors are:
although the compile errors are trivial to fix (Add % before arraykey, and close two curly braces).Type of arg 1 to keys must be hash or array (not constant item) at tes +t1.pl line 125, near "arraykey) " Missing right curly or square bracket at test1.pl line 181, at end of +line syntax error at test1.pl line 181, at EOF Execution of test1.pl aborted due to compilation errors.
After fixing your code to compile, we are unable to take diagnostics further without knowing what the incoming data looks like.
It is possible that one of your pieces of data has extra tab characters, which would generate additional columns.
As others have suggested, a short, self-contained example demonstrating your issue , and including what the output looks like would really help.
update: Fixed typo . Thanks LanX.
"From there to here, from here to there, funny things are everywhere." -- Dr. Seuss
|
|---|