Eily..thanks for your response..both solution work perfect for me.. i just need to stored the link from $mech->find_all_links(tag=> "a", class =>"foo") into 1 array after its loop for three times with different $cnt url.
thanks a lot..
Comment on Re^3: how to store link array in for loop with WWW::Mechanize