Don't ask to ask, just ask | |
PerlMonks |
Re: Building Networks of Matchesby sasikumar (Monk) |
on Dec 23, 2004 at 13:59 UTC ( [id://417086]=note: print w/replies, xml ) | Need Help?? |
hi I am just rigting a mere logic i am not writing a code. please adjust with me as am ina hurry to move out of my office. I know u would be smart enough to make it into a working model just try this way a reverse hash Instead of the linenumber as has and elements in the array reverse this concept u will find a simple solution. Just build a hastable with ur elements as key and their line numbers as hash tabls. This would solve your problem. Please let me know your comments on it. Thanks Sasi Kumar
In Section
Seekers of Perl Wisdom
|
|