http://www.perlmonks.org?node_id=1000238


in reply to Reading tab/whitespace delimited text file

So what did you try?

What about always reading 3 lines, and building a hash which assigns the values in the second line to the keys in the first?

What did fail?

If its just about decomposing did you try split /\t/, $line ?

Cheers Rolf

Replies are listed 'Best First'.
Re^2: Reading tab/whitespace delimited text file
by reaper9187 (Scribe) on Oct 21, 2012 at 19:57 UTC
    Hi, Thank you for the quick reply
    Jus trying to write a script for it. I'm new to perl. I have limited knowledge of hash and keys and how to use it .. Can you suggest something .??