G'day fasoli,
Welcome to the Monastery.
I think your first port of call should be perlintro — Perl introduction for beginners. It's made up of a dozen very short sections which just give a brief overview of their topic; however, each also typically has multiple links to more detailed information. For the detailed information, you may want to arm yourself with the Perl Glossary.
Next, take a look at the online perl manpage. As you can see, Perl has a lot of documentation: I'd recommend just aiming to get a feel for where information can be found.
Some suggestions to get you started. I've only included what I thought to be relevant based on your question; browse the others at your leisure, if they're of interest.
- Overview
-
- perlintro —
refer back to it for those links to detailed information
- perlrun —
just remember: shebang line, command switches, environment variables
- Tutorials
-
- perlreftut —
this is short and you will eventually need to know it
- recommend you read it quickly now and refer back as needed
- perldsc —
the Data Structures Cookbook
- decide how you'll structure your data
- this will tell you how to create, access and modify it
- perllol —
multidimensional arrays - refer as needed
- perlfaq —
the Perl FAQ is broken up into nine separate FAQs
- this page has links to them, it also lists all the questions
- suggest you read the questions on this page,
try to answer them, then compare with the FAQ answer
- Reference Manual
-
You'll probably only use a handful or so of these with any frequency.
Let perlintro be your guide as to what to read first.
Here's two of particular note.
- perlopentut —
a tutorial on opening files
- probably should be in the Tutorials section
- perlfunc [Caveat!] —
this page is very large; I've had problems in various browsers; I avoid it (YMMV)
- instead, try the Functions link in the Reference section of the sidebar
- an index of links to functions and each function gets its own [nice and small] webpage.
- Miscellaneous
-
- perlbook —
more sources of information
- perldoc —
all this documentation from the command line
Your question talks about columns.
Are you working with a spreadsheet of some description?
If so, I'd strongly recommend Text::CSV.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.