in reply to Re^5: Searching Huge files
in thread Searching Huge files

Time for you to reread what has been presented already and engage your brain to solve the problem. Strong hint: $snpLookup{$1} = $2; puts the value you want into the %snpLookup hash and in print "$1    $2\n"; $1 contains the key.


Perl is environmentally friendly - it saves trees

Replies are listed 'Best First'.
Re^7: Searching Huge files
by biomonk (Acolyte) on Jul 11, 2008 at 19:50 UTC

    hi GrandFather, thanks for your hint, i just did this print "$2 $1 $snpLookup{$1}\n"; is it correct way to do it ? thanks a lot for your help.

      Indeed. Although the real answer is: "Did it work?". ;)


      Perl is environmentally friendly - it saves trees

        ya it works well,can i know wat's the right way or answer to do it, please? thanks in advance.