Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Reading tab/whitespace delimited text file

by LanX (Chancellor)
on Oct 21, 2012 at 19:36 UTC ( #1000238=note: print w/replies, xml ) Need Help??


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

  • Comment on Re: Reading tab/whitespace delimited text file

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 .??

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (9)
As of 2016-10-01 14:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (577 votes). Check out past polls.