in reply to Re^2: compare data between two files using Perl
in thread compare data between two files using Perl

each() will help you with your question. To put it short: each() returns a list of the next key/value pair and uses memory very efficiently.
Regards,
svenXY
  • Comment on Re^3: compare data between two files using Perl

Replies are listed 'Best First'.
Re^4: compare data between two files using Perl
by Anonymous Monk on Dec 16, 2008 at 14:18 UTC
    Right. But how do I split $key to get my original keys ?
Re^4: compare data between two files using Perl
by Anonymous Monk on Dec 16, 2008 at 14:20 UTC
    Right. But I wanted to know from $value how do I get the original tuples ?
Re^4: compare data between two files using Perl
by Anonymous Monk on Dec 16, 2008 at 15:08 UTC
    Sorry, its rather I wanted to know from $key how do I get the original tuples ?