http://qs321.pair.com?node_id=484402


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

Use $website_links[0][0] instead of $website_links[0]. Why? Because $website_links[0] is an array reference.

Hang on, better still, you just need to change one line of code to make it work...

From
my @website_links = $webcrawler->links;
to
my @website_links = map { $_->[0] } $webcrawler->links;

Cheers