What's your definition of "column"?
Is it always a fixed number of characters, starting at a fixed character position in the file? That will be quite easy in Perl.
Or does it depend on how you "delimit" your columns? For example, if your data is always separated by whitespace (eg. spaces or tabs), or some other well-defined set of characters, then that's quite easy too.
The problem is, we can't solve your problem until we know what you need to do. Even then, we need to know you've tried for yourself, and where you're getting stuck. It wouldn't do us much good to say "After you've read the file into memory, do the following", and then find out that you're stuck on how to open and read a file from disk. Nor would it productive to say "Just use regexes to extract the data you want" if it's regular expressions that you're unclear about.
And most importantly, if you have any code that you've written, by all means show us that, as an example program is almost always the best starting point.
In reply to Re: Reading selected columns from text file
by liverpole
in thread Reading selected columns from text file
by beginr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |