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

Re: Reading tab/whitespace delimited text file

by LanX (Canon)
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
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 avoiding work at the Monastery: (12)
As of 2015-07-06 18:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (80 votes), past polls