|We don't bite newbies here... much|
Parsing for  in a fileby HJ (Novice)
|on Nov 17, 2011 at 17:35 UTC||Need Help??|
HJ has asked for the
wisdom of the Perl Monks concerning the following question:
Hi Monks, I am kinda of a perl fumbler. I am stuck with a problem for more than an hour now, wish somebody cud give me pointers.
Output should hence be File3:
Note: %results has 'a' as a key>
but my Output is
I even tried this and I see no output for this though( logical more sensible than the prev scrpt?
I understand the output is so because 'if exists' statement is true only for a|12. How do I make sure other any 'a*' be printed out too?Thanks in advance, HJ