Re: help in redirecting output to file

2008-11-20 Thread Nitin Kalra
Why don't u use this code :- open NEW_OUT,">output.txt"; select NEW_OUT; # making output.txt to take the default STD output Hope this helps... BR/Nitin --- [EMAIL PROTECTED] wrote: > > Hi All, > > > > Can somebody please help me for this block of code. > > > > if ("$1" ne "-log"){ >

Million hash comparisons

2008-11-19 Thread Nitin Kalra
Hi Community, In a Perl script of mine I have to compare 2 8M-10M files(each). Which mean 80-90M searches. As a normal procedure (upto 1 M)I use hashes, but going beyond 1M system performance degrades drastically. If anybody has faced something like this then plz share the same. BR/Nitin