Ok, one more time. Here is a very direct question that would really help me get started.
How do I parse the elements of:
merge.pl file_1 a,b,c file_2 d,e,f
so that:
file_1 a,b,c
gets placed in a hash where:
keys = "a", "b", "c"
and:
key values = /$aref_a, /$aref_b, /$aref_c
and:
file_2 d, e, f
</CODE>
gets placed in another hash where:
keys = "d", "e", "f"
and:
key values = /$aref_d, /$aref_e, /$aref_f
I believe that I can figure out the rest. This has just been a sticking point for me. Obviously. And regarding your "hire a programmer" comment. Look. I am NOT a programmer. I am a network engineer, tasked with writing some tools for my group. I have stated in just about every one of my posts that I am new to Perl. So, it shouldn't surprise anyone if I am having trouble expressing ideas in a programming context. Would you tell a 2 year old, who is just learning to speak, to "hire a tutor" before asking you a question? At any rate, I don't mean to sound ungrateful for everyone's help, nor do I want anyone to do my work for me. Just a little direction would be great. | [reply] [d/l] [select] |
| [reply] |
AHA! Thank you! I DON'T know:
how to recognize the difference between file_1 and a b c, other than p
+ositionally.
Which is of no help, because a b c can change, depending on which
fields I want to read!
That's precisely it! I caan figure the rest out! I have 4 books, which have been helpful, thus far.
Thank you, thank you, thankyou, for helping to extract some clarity from me!
Steven L. Sesar, Perl Infant | [reply] [d/l] |