in reply to Loop will not save into the array

I added a print "@website_links\n"; as the first thing in the while loop, and I dont think @website_links contains what you expect.