i tried the Text::ParseWords, and it gave me back something like:
: : : : : : : :
i probably didn't do it right. but, going back to what i was doing before, once i have the data i need in @records, isn't there a way to get the " out with s///? or something simple?
with the printing, what i want to do is lose the labels of ID, Dept, etc.
i've been going over this - over and over - and i think i understand what i have right up to @records. i can draw a picture of where the data is going right up till then. but i'm not sure what the data looks like by the time it's in @records.
i think what would probably solve all of my problems (because I would be able to call each item) is if i could assign a scalar variable to each item. so that i could say something like:
print $ID, $firstname $middlename $lastname\n;
print $dept, $address, $phone\n;
does this make any sense?
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.