Jennifer Garner [JG], on Thursday, December 8, 2005 at 19:21 (+0800)
typed the following:

JG> Sorry, the file is more than 900M, too large to download.
JG> I have run it for one day,and still have nothing to output.Crying...
JG> I think maybe some arithmetic is useful for me,and now I'm thinking over it.

ok, why you cache the results ? try to print them to _file_, when
conditions pass.
After that, you can sort them, uniq and so on.
Did you look, how memory eats your script ?
also you dont use $num there, so I would do splitting in other way,
something like this:
my ($ip) = $_ =~ /^([^:]+)/o;

-- 

How do you protect mail on web? I use http://www.2pu.net

["I love cartoons." - Yakko Warner]



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to