Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Additional headers

by NetWallah (Canon)
on Feb 14, 2020 at 04:42 UTC ( [id://11112952]=note: print w/replies, xml ) Need Help??


in reply to Additional headers

You seem to have ignored the good advice in response to this same code posted in your previous post.

The code posted here does not compile. Errors are:

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.
although the compile errors are trivial to fix (Add % before arraykey, and close two curly braces).

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11112952]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (7)
As of 2024-03-28 20:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found