in reply to Re^3: Loop will not save into the array
in thread Loop will not save into the array

Hi Roger, it still doesn't work. I have changed it to

 my @website_links = map { $_-> [0] } $webcrawler->links; and then in the while loop

@links = map { $_-> [0] } $webcrawler->links($new_uri[0]); but it still gives the same error. Sorry about this! I havent mentioned that am using ActivePerl 5.8.7 Build 813 if this is going to get rid of some headaches. Thanks for the help.Lambros