Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: How to get the column from lines

by GotToBTru (Prior)
on Apr 14, 2014 at 16:11 UTC ( [id://1082257]=note: print w/replies, xml ) Need Help??


in reply to How to get the column from lines

Firstly, it would be very helpful to see an example of the data. Secondly, zero-based indexing trips up a lot of people. (split / /)[2,5] will give you the 3rd and 6th columns of your data.

Replies are listed 'Best First'.
Re^2: How to get the column from lines
by hippo (Bishop) on Apr 14, 2014 at 16:19 UTC

    Best guess is that this is an example of the data.

Re^2: How to get the column from lines
by Bloodnok (Vicar) on Apr 14, 2014 at 16:37 UTC

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2024-04-19 21:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found